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;
}