diff options
Diffstat (limited to 'clang/test/Sema/struct-decl.c')
-rw-r--r-- | clang/test/Sema/struct-decl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Sema/struct-decl.c b/clang/test/Sema/struct-decl.c index aa2d3b6342b..e71a0b2b0c4 100644 --- a/clang/test/Sema/struct-decl.c +++ b/clang/test/Sema/struct-decl.c @@ -23,13 +23,13 @@ int foo() { return f->v + f[0].v; } -// PR3642 +// PR3642, PR3671 struct pppoe_tag { short tag_type; char tag_data[]; }; struct datatag { - struct pppoe_tag hdr; //expected-error{{variable sized type 'hdr' must be at end of struct}} + struct pppoe_tag hdr; //expected-warning{{variable sized type 'hdr' not at the end of a struct or class is a GNU extension}} char data; }; |