☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto27.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/auto27.C
code
plain
raw
1
// PR c++/51186
2
3
auto main()->int // { dg-error "std=" "std" { target { ! c++11 } } }
4
// { dg-error "auto" "auto" { target { ! c++11 } } .-1 }
5
// { dg-error "no type" "no type" { target { ! c++11 } } .-2 }
6
{ }