1 2 3 4 | template< typename > class t; template<> struct t< int > { int a; } r = { 3 }; |
dGVtcGxhdGU8IHR5cGVuYW1lID4gY2xhc3MgdDsKCnRlbXBsYXRlPD4gc3RydWN0IHQ8IGludCA+IHsgaW50IGE7IH0gciA9IHsgMyB9Owo=
prog.cpp:3: warning: unused variable ‘r’ /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status
-
result: Compilation error (maybe you wish to see an example for C++ 4.7.2)


