☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
this2.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/this2.C
code
plain
raw
1
// PR c++/88548
2
// { dg-do compile { target c++11 } }
3
4
struct S {
5
int a;
6
template <class> static auto m1 ()
7
-> decltype(this->a) { return 0; } // { dg-error "'this'" }
8
};