PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / g++.dg / asan / pr77396.C
blob3b3195ec1eca65ccb68b35c572610810ad16df3f
1 // PR sanitizer/77396
2 // { dg-do run }
3 // { dg-set-target-env-var ASAN_OPTIONS "check_initialization_order=true" }
5 static int a = 0; 
6 static int b = a; 
8 int
9 main ()
11   return 0;