OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR tree-optimization/50730
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
init-bad-7.c
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 from incompatible pointer type|near initialization for" } */