* g++.dg/cpp0x/constexpr-reinterpret1.C: Fix line number that is
expected to generate an error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232705
138bc75d-0d04-0410-961f-
82ee72b054a4
+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;