☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept75.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/noexcept75.C
code
plain
raw
1
// PR c++/94944
2
// { dg-do compile { target c++11 } }
3
4
template<class T>
5
struct A {
6
void f();
7
};
8
9
template<class T>
10
struct B : A<T> {
11
void g() noexcept(noexcept(A<T>::f()));
12
};
13
14
int main() {
15
B<int> b;
16
b.g();
17
}