repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.dg
/
two-types-10.c
blob
6c2b79bd5281844ed3bb2e69886f6cb7ba06a905
1
/* { dg-do compile } */
2
/* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
3
4
typedef
enum
a
{
XYZ
}
a
;
/* { dg-message "previous declaration" } */
5
enum
a a
;
/* { dg-error "redeclared" } */
6
struct
b
{
enum
a a
:
8
; };