Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / trunc-1.c
bloba78cceb598a0895a0c827e2ed6d41f2f9dc0aaee
1 /* Origin: PR c/675 from aj@suse.de. */
2 /* { dg-do compile } */
3 /* { dg-options "-Wall" } */
5 #include <stddef.h>
7 int
8 main (void)
10 size_t len;
12 len = ~(sizeof (size_t) - 1); /* { dg-bogus "truncated" "bogus truncation warning" } */
14 return len - len;