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
builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr53196-1.c
blob
b33e0432ebeccb8df168a4b3acd50ee6407deaeb
1
/* PR c/53196 */
2
/* { dg-do compile } */
3
/* { dg-options "-std=gnu99" } */
4
5
extern
int
printf
(
const char
*, ...);
6
struct
foo
{
int
i
; };
7
8
int
9
main
()
10
{
11
struct
foo f
= (
struct
foo_typo
) { };
/* { dg-error "invalid use of undefined type" } */
12
printf
(
"%d
\n
"
,
f
.
i
);
13
return
0
;
14
}