Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype-err1.C
blob: 302cb64aafc76e36158bad72f8d120151c6b823f [
file
] [
log
] [
blame
]
// PR c++/92105
// { dg-do compile { target c++11 } }
// Test that we get exactly one "expected" error.
decltype
(
decltype
)
x
=
42
;
// { dg-bogus "expected.*expected" }
// { dg-error "expected" "" { target *-*-* } .-1 }