1 /* { dg-xfail-if "ptxas crashes" { nvptx-*-* } { "*" } { "-O0" "-Os" } } */
2 
3 
4 int a = 1, b, d;
5 short e;
6 
7 int
main()8 main ()
9 {
10   for (; b; b++)
11     ;
12   short f = a;
13   int g = 15;
14   e = f ? f : 1 << g;
15   int h = e;
16   d = h == 83647 ? 0 : h;
17   if (d != 1)
18     __builtin_abort ();
19   return 0;
20 }
21