Daily bump.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / noexcept75.C
blobd746f4768d0566ca1008f65e74d5d2050e7dd227
1 // PR c++/94944
2 // { dg-do compile { target c++11 } }
4 template<class T>
5 struct A {
6   void f();
7 };
9 template<class T>
10 struct B : A<T> {
11   void g() noexcept(noexcept(A<T>::f()));
14 int main() {
15   B<int> b;
16   b.g();