repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.dg
/
20020122-1.c
blob
b13752f6453ab48b8d3c3ea0bcfd830feaf580a2
1
/* Copyright (C) 2002 Free Software Foundation.
2
by Hans-Peter Nilsson <hp@axis.com> */
3
4
/* { dg-do compile } */
5
6
typedef
struct
7
{
8
unsigned short
s
;
9
}
t
;
10
11
struct
u
12
{
13
t v
;
14
};
15
16
int
17
foo
(
struct
u
*
uu
)
18
{
19
int
i
= ((
unsigned int
) ((
uu
->
v
) &
42
));
/* { dg-error "invalid operands to binary" } */
20
return
i
;
21
}