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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr104506-3.c
blob
b14deb5cf25f195af3004a1168006d31569bda9a
1
/* { dg-do compile } */
2
/* PR c/104506: we used to ICE after the error of
3
changing the type. */
4
double
x
;
5
/* { dg-message "note: previous declaration" "previous declaration" { target *-*-* } .-1 } */
6
void
7
foo
(
void
)
8
{
9
x
;
10
}
11
int
x
;
/* { dg-error "conflicting types" } */