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
/
noexcept59.C
blob
1dc826d3111a33d1967c8729f159f44654e0ef6e
1
// PR c++/90748
2
// { dg-do compile { target c++11 } }
3
4
template <class ...Ts> class A
5
{
6
constexpr bool e () { return true; };
7
bool f (int() noexcept(this->e())); // { dg-error "this" }
8
bool g (int() noexcept(e())); // { dg-error "without object" }
9
};
10
A<> b;