index.html (3.10): Add note about mips atomicity.h.
[official-gcc.git] / gcc / testsuite / gcc.dg / trunc-1.c
blob0d6a48b4afddeb934b3b1a8ccfe04df707fcac9f
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 0;