1#define DEF
2#include "extern_template.h"
3#undef DEF
4extern int bar();
5extern int foo();
6extern Test<int> TO;
7int main() {
8 foo();
9 int R = bar();
10
11 if (R != 10)
12 return 1;
13 return 0;
14}
15

source code of compiler-rt/test/profile/Inputs/extern_template.cpp