// PR c++/116052 // { dg-do compile { target c++11 } } template using decay_t = __decay(T); template void g(typename decay_t::foo); // { dg-error "built-in" } template void f() { g(0); } struct A { using foo = int; }; int main() { f(); }