PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / auto39.C
blobdfa1fb4e9e8354b9da3fac87083aa2304dbdd240
1 // PR c++/58560
2 // { dg-do compile { target c++11 } }
4 typedef auto T;     // { dg-error "typedef declared 'auto'" }
6 void foo() { T(); }