PR c++/68810
* g++.dg/cpp0x/constexpr-reinterpret1.C: Fix line number that is
expected to generate an error.
From-SVN: r232705
+2016-01-21 Dominik Vogt <vogt@linux.vnet.ibm.com>
+
+ PR c++/68810
+ * g++.dg/cpp0x/constexpr-reinterpret1.C: Fix line number that is
+ expected to generate an error.
+
2016-01-21 Bernd Schmidt <bschmidt@redhat.com>
PR middle-end/66178
};
constexpr static Inner & getInner()
- {
- /* I am surprised this is considered a constexpr */
- return *((Inner *)4);
- } // { dg-error "reinterpret_cast" "" }
+ /* I am surprised this is considered a constexpr */
+ { return *((Inner *)4); } // { dg-error "reinterpret_cast" "" }
};
B B::instance;