Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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 }