repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept75.C
blob
d746f4768d0566ca1008f65e74d5d2050e7dd227
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
}