PR middle-end/77674
[official-gcc.git] / gcc / testsuite / g++.dg / pr70590-2.C
blob409c86eccd127e11546967659546bba061fc4d10
1 // PR c++/70590
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-O2" }
5 int a;
7 constexpr int *foo = &a;
9 void blah (int *);
11 int
12 bar ()
14   blah (foo);
17 int
18 baz ()
20   blah (foo);