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
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
decl-2.c
blob
ab1532e82b9ac90ab3ce587fd1c3f4d761bd51be
1
/* PR c/7411 */
2
/* Contributed by Christian Ehrhardt */
3
/* Added extra line-breaks to check that diagnostics refer to correct token.
4
--Per Bothner. */
5
/* { dg-do compile } */
6
7
void
foo
(
void
)
8
{
9
char
10
c
/* { dg-error "previous declaration" } */
11
;
12
int
i
;
13
int
14
c
/* { dg-error "conflicting types" } */
15
=
i
;
16
}