Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept56.C
blob: 8eea6b91f7e8e4529b772f8598980d7579110c6a [
file
] [
log
] [
blame
]
// PR c++/92907 - noexcept does not consider "const" in member functions.
// { dg-do compile { target c++11 } }
void
f
(
const
int
&);
void
f
(
int
&)
=
delete
;
struct
A
{
int
i
;
void
g
()
const
noexcept
(
noexcept
(
f
(
i
)));
};