fork download
  1. template<typename T, typename>
  2. struct const_ { typedef T type; };
  3.  
  4. template<typename T, typename const_<void, T>::type...>
  5. void f();
  6.  
  7. int main() {
  8. f<int>();
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/home/ly1vGq/ccg2UfKu.o: In function `main':
prog.cpp:(.text.startup+0x7): undefined reference to `void f<int>()'
collect2: error: ld returned 1 exit status
stdout
Standard output is empty