OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* convert.c (convert_to_integer): Convert (long)round -> lround,
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
20011214-1.c
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
}