2 // { dg-do compile { target c++11 } }
4 namespace N { const int i = 42; }
5 namespace M { const int j = 42; }
10 static_assert (i == 42, "i == 42");
18 static_assert (i == 42, "i == 42");
22 constexpr int i = g();
23 constexpr int i2 = h<int>();
25 static_assert (i == 84, "i == 84");
26 static_assert (i2 == 84, "i2 == 84");