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
Fix typo
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20011214-1.c
blob
9dea9048c5ad68dfe71c91c8e9d820f267f3876a
1
/* { dg-do run } */
2
3
#define small __attribute__((mode(QI))) int
4
int
main
()
5
{
6
int
x
,
y
=
0x400
;
7
8
x
= (
small
)
y
;
/* { dg-bogus "ignored" } */
9
if
(
sizeof
(
small
) !=
sizeof
(
char
))
/* { dg-bogus "ignored" } */
10
abort
();
11
if
(
sizeof
(
x
) !=
sizeof
(
char
) &&
x
==
y
)
12
abort
();
13
return
0
;
14
}