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
* MAINTAINERS (c4x port): Remove.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
trunc-1.c
1
/* Origin: PR c/675 from aj@suse.de. */
2
/* { dg-do compile } */
3
/* { dg-options "-Wall" } */
4
5
#include <stddef.h>
6
7
int
8
main (void)
9
{
10
size_t len;
11
12
len = ~(sizeof (size_t) - 1); /* { dg-bogus "truncated" "bogus truncation warning" } */
13
14
return 0;
15
}