c++: Implement __is_nothrow_invocable built-in trait
[official-gcc.git] / gcc / testsuite / g++.dg / expr / ptrmem5.C
blobe36983d029d79692d5d6d535e5810560d51cb8d5
1 // PR c++/15696
3 struct A {};
5 typedef void (A::*ftype)();
7 void foo() { A().*ftype(); } // { dg-error "" }