Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
array1.C
blob: f4c3630be1602e4ac7668f18894af7d980905d27 [
file
] [
log
] [
blame
]
// PR c++/13574
// { dg-options "" }
class
A
{
public
:
A
()
:
argc
(
0
),
argv
()
{
};
// { dg-error "flexible array" }
private
:
int
argc
;
char
*
argv
[];
};
int
main
()
{
A y
;
}