diff options
Diffstat (limited to 'test/profile/Inputs/extern_template2.cpp')
-rw-r--r-- | test/profile/Inputs/extern_template2.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/profile/Inputs/extern_template2.cpp b/test/profile/Inputs/extern_template2.cpp new file mode 100644 index 000000000000..ac2f8587b0d8 --- /dev/null +++ b/test/profile/Inputs/extern_template2.cpp @@ -0,0 +1,9 @@ +#define USE +#include "extern_template.h" +#undef USE + +extern Test<int> TO; +int bar() { + TO.doIt(5); + return TO.M; +} |