aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/auto38.C
blob: 070a39b9e3e18dc326a2091e0b34c39dd1ae64fc (plain)
1
2
3
4
5
6
7
8
// PR c++/57183
// { dg-do compile { target c++11 } }
// { dg-options "-Wunused-variable" }

constexpr float PI_0 = 3.1415926F;
constexpr auto PI_1 = 3.1415926F;
const float PI_2 = 3.1415926F;
const auto PI_3 = 3.1415926F;