log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
hg
>
CbC
>
CbC_gcc
annotate gcc/testsuite/gcc.dg/940510-1.c @ 111:
04ced10e8804
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
gcc 7
author
kono
date
Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
rev
line source
111
04ced10e8804
gcc 7
kono
parents:
diff
changeset
1
/* { dg-do compile } */
04ced10e8804
gcc 7
kono
parents:
diff
changeset
2
/* { dg-options "-std=c89 -pedantic" } */
04ced10e8804
gcc 7
kono
parents:
diff
changeset
3
struct { int a[]; } x = { 0 }; /* { dg-warning "ISO C90 does not support flexible array members" } */
04ced10e8804
gcc 7
kono
parents:
diff
changeset
4
/* { dg-error "flexible array member in a struct with no named members" "" { target *-*-* } .-1 } */
04ced10e8804
gcc 7
kono
parents:
diff
changeset
5