struct S { int a() {return 0;} decltype(a()) b() {return 1;} }; int main() {}
Standard input is empty
prog.cpp:4:16: error: cannot call member function 'int S::a()' without object decltype(a()) b() {return 1;} ^ prog.cpp:4:16: error: cannot call member function 'int S::a()' without object
Standard output is empty