Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/pr87125.C

raw
1 // PR c++/87125
2 // { dg-do compile { target c++11 } }
3
4 template <typename T>
5 struct S {
6 template <typename U>
7 constexpr S (U) noexcept (T ()) {}
8 };
9 struct V : S<int> { using S::S; };
10
11 bool
12 foo ()
13 {
14 return noexcept (V (0));
15 }