Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;