]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/auto39.C
re PR c++/58560 ([c++11] ICE with auto in typedef)
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / auto39.C
CommitLineData
76b67a0a
PC
1// PR c++/58560
2// { dg-do compile { target c++11 } }
3
4typedef auto T; // { dg-error "typedef declared 'auto'" }
5
6void foo() { T(); }
This page took 0.030205 seconds and 5 git commands to generate.