Debian Codegraph @

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

raw
1 // PR c++/77338
2 // { dg-do compile { target c++11 } }
3
4 struct S;
5
6 template <typename>
7 auto f (S s) -> decltype (s (s)); // { dg-error "no match for call to" }