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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr30951.c
blob
149b8ecaafd43345492b22376cd6cc06702642a3
1
/* { dg-do link } */
2
3
extern
void
link_error
(
void
);
4
5
void
test
(
int
x
,
unsigned int
y
)
6
{
7
if
(
x
+
5
==
x
)
8
link_error
();
9
if
(
x
==
x
+
10
)
10
link_error
();
11
if
(
y
+
5
==
y
)
12
link_error
();
13
if
(
y
==
y
+
10
)
14
link_error
();
15
if
(
x
+
5
!=
x
)
16
;
17
else
18
link_error
();
19
if
(
x
!=
x
+
10
)
20
;
21
else
22
link_error
();
23
if
(
y
+
5
!=
y
)
24
;
25
else
26
link_error
();
27
if
(
y
!=
y
+
10
)
28
;
29
else
30
link_error
();
31
}
32
33
int
main
()
34
{
35
return
0
;
36
}