diff options
Diffstat (limited to 'test/profile/Inputs/extern_template.cpp')
-rw-r--r-- | test/profile/Inputs/extern_template.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/profile/Inputs/extern_template.cpp b/test/profile/Inputs/extern_template.cpp new file mode 100644 index 000000000000..98c6c16b4a8a --- /dev/null +++ b/test/profile/Inputs/extern_template.cpp @@ -0,0 +1,14 @@ +#define DEF +#include "extern_template.h" +#undef DEF +extern int bar(); +extern int foo(); +extern Test<int> TO; +int main() { + foo(); + int R = bar(); + + if (R != 10) + return 1; + return 0; +} |