repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[NDS32] Add intrinsic functions for TLB operation and data prefech.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
two-types-8.c
blob
666b9a9c62a297c385e377225cc26bc984d18cd9
1
/* { dg-do compile } */
2
/* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
3
4
enum
x
{
XYZ
}
5
struct
g
{
enum
x a
; };
/* { dg-error "expected ';', identifier or " } */
6
7
int
f
(
struct
g
*
x
)
8
{
9
return
x
->
a
==
XYZ
;
/* { dg-bogus " has no member " } */
10
}