| 1 |
// PR c++/87250 |
| 2 |
// { dg-do compile { target c++11 } } |
| 3 |
// { dg-options "-Os -fsyntax-only" } |
| 4 |
|
| 5 |
template <typename> struct a { |
| 6 |
constexpr a(int) {} |
| 7 |
}; |
| 8 |
template <typename> struct atomic; |
| 9 |
template <> struct atomic<bool> { |
| 10 |
a<bool> b; |
| 11 |
constexpr atomic(bool c) : b(c) {} |
| 12 |
}; |