re PR c++/87250 (Internal compiler error with -Os -fsyntax-only)
PR c++/87250 * g++.dg/cpp0x/pr87250.C: New test. From-SVN: r272129
This commit is contained in:
parent
620adbec08
commit
fa237d91e8
|
@ -1,3 +1,8 @@
|
|||
2019-06-10 Matthew Beliveau <mbelivea@redhat.com>
|
||||
|
||||
PR c++/87250
|
||||
* g++.dg/cpp0x/pr87250.C: New test.
|
||||
|
||||
2019-06-10 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR testsuite/90772
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
// PR c++/87250
|
||||
// { dg-do compile { target c++11 } }
|
||||
// { dg-options "-Os -fsyntax-only" }
|
||||
|
||||
template <typename> struct a {
|
||||
constexpr a(int) {}
|
||||
};
|
||||
template <typename> struct atomic;
|
||||
template <> struct atomic<bool> {
|
||||
a<bool> b;
|
||||
constexpr atomic(bool c) : b(c) {}
|
||||
};
|
Loading…
Reference in New Issue