extern_template.cpp 192 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 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; }