Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept59.C
blob: c752601ba09e751ee3ef522443afc82a3ca69947 [
file
] [
log
] [
blame
]
// PR c++/90748
// { dg-do compile { target c++11 } }
template
<
class
...
Ts
>
class
A
{
void
e
();
bool
f
(
int
()
noexcept
(
this
->
e
()));
// { dg-error "this" }
bool
g
(
int
()
noexcept
(
e
()));
// { dg-error "without object" }
};
A
<>
b
;