aboutsummaryrefslogtreecommitdiff
path: root/test/profile/Inputs/extern_template1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/profile/Inputs/extern_template1.cpp')
-rw-r--r--test/profile/Inputs/extern_template1.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/profile/Inputs/extern_template1.cpp b/test/profile/Inputs/extern_template1.cpp
new file mode 100644
index 000000000000..372ffd25109f
--- /dev/null
+++ b/test/profile/Inputs/extern_template1.cpp
@@ -0,0 +1,9 @@
+#define USE
+#include "extern_template.h"
+#undef USE
+
+Test<int> TO;
+int foo() {
+ TO.doIt(20);
+ return TO.M;
+}