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
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept78.C
blob
e8156eb7c6f9b4f44fe58a99760c8179938740c2
1
// PR c++/109761
2
// { dg-do compile { target c++11 } }
3
4
struct base {
5
virtual void foo() noexcept { }
6
virtual ~base() { }
7
};
8
9
struct outer : base {
10
struct nested {
11
void foo() noexcept(noexcept(g())); // { dg-bogus "looser" }
12
~nested() noexcept(noexcept(g())); // { dg-bogus "looser" }
13
};
14
static void g();
15
};
16