repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
noncompile
/
incomplete-3.c
blob
735ef465b38a5265fa51a5c0bcd270a59ec903b5
1
/* Both occurrences of "c" should get diagnostics. PR 12391. */
2
typedef
struct
{
int
a
; }
b_t
;
3
4
int
foo
(
void
)
5
{
6
b_t d
;
7
struct
b_t
*
c
= &
d
;
/* { dg-warning "incompatible pointer type" } */
8
c
->
a
;
/* { dg-error "incomplete type" } */
9
}