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
* lto.c (hash_canonical_type): Use tree_code_for_canonical_type_merging.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
lto
/
c-compatible-types_1.c
blob
ff0d16e31117c76e18753fbcb89b26a93e83e625
1
enum
a
{
test1
,
test2
};
2
enum
a a
;
3
enum
a
*
b
;
4
5
void
reset
(
void
);
6
7
void
8
t
()
9
{
10
if
(
a
!=
test2
)
11
__builtin_abort
();
12
if
(*
b
!=
test2
)
13
__builtin_abort
();
14
reset
();
15
if
(
a
!=
test1
)
16
__builtin_abort
();
17
if
(*
b
!=
test1
)
18
__builtin_abort
();
19
}