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
Merge tree-ssa-20020619-branch into mainline.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
decl-2.c
1
/* PR c/7411 */
2
/* Contributed by Christian Ehrhardt */
3
/* { dg-do compile } */
4
5
void foo(void)
6
{
7
char c; /* { dg-error "previous declaration" } */
8
int i;
9
int c = i; /* { dg-error "conflicting types" } */
10
}