Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-5116.113.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error40.C
blob: 9ab7552ae8396aa885e361f4a65675551065759a [
file
] [
log
] [
blame
]
// PR c++/31489
class
foo
;
// { dg-error "'class foo'" }
struct
bar
;
// { dg-error "'struct bar'" }
int
main
()
{
foo
*
f
=
new
foo
;
// { dg-error "'class foo'" }
bar
*
b
=
new
bar
;
// { dg-error "'struct bar'" }
}