fork download
  1. template< int i1 >
  2. struct T1 {
  3. enum{ j1=i1 };
  4. };
  5.  
  6. template< int i2 >
  7. struct T2 : T1<i2> {
  8. using T1<i2>::j1; // WTF
  9. enum{ j2=i2+j1 };
  10. };
  11.  
  12.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/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
stdout
Standard output is empty