blob: d746f4768d0566ca1008f65e74d5d2050e7dd227 [file] [log] [blame]
// PR c++/94944
// { dg-do compile { target c++11 } }
template<class T>
struct A {
void f();
};
template<class T>
struct B : A<T> {
void g() noexcept(noexcept(A<T>::f()));
};
int main() {
B<int> b;
b.g();
}