Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/decltype-33838.C

raw
1 // { dg-do compile { target c++11 } }
2 // PR c++/33838
3 template<typename T> struct A
4 {
5 __decltype (T* foo()); // { dg-error "expected|no arguments|declaration" }
6 };