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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
init-bad-7.c
blob
de5e570978ccf693dad75f09d2a6d50bb4f784a2
1
/* PR c/37724 */
2
/* { dg-do compile } */
3
/* { dg-options "-std=gnu99 -pedantic" } */
4
5
struct
f
6
{
7
int
*
a
;
8
};
9
10
char
b
[
10
];
11
struct
f g
= {
b
};
/* { dg-warning "initialization of 'int \\*' from incompatible pointer type|near initialization for" } */