pr77285-2.C: Require tls_native support.
[gcc.git] / gcc / testsuite / g++.dg / pr70590-2.C
1 // PR c++/70590
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-O2" }
4
5 int a;
6
7 constexpr int *foo = &a;
8
9 void blah (int *);
10
11 void
12 bar ()
13 {
14 blah (foo);
15 }
16
17 void
18 baz ()
19 {
20 blah (foo);
21 }