OSDN Git Service

67f3404df9026005f4cea39eb4ae112993bb0333
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / treelang / compile / unsigned.tree
1 // { dg-do compile }
2 // { dg-options "-fdump-tree-gimple" }
3 external_reference void abort ();
4 external_reference void exit (int status);
5 external_definition int main (int argc, int argv);
6
7 main
8 {
9         automatic unsigned int bar = 2147483649;
10         automatic unsigned int baz = 2147483649;
11
12         if (bar == baz) {
13                 abort ();
14         } else {
15                 exit (0);
16         }
17         return +1;
18 }
19 // { dg-final { scan-tree-dump-not "\\\(int\\\)" "gimple" } }
20 // { dg-final { cleanup-tree-dump "gimple" } }