// PR c++/48530 // { dg-options -std=c++0x } template char f(int); template char (&f(...))[2]; struct DelDtor { ~DelDtor() = delete; }; static_assert(sizeof(f(0)) != 1, "Error"); struct A { static DelDtor *p; }; template char g(int); template char (&g(...))[2]; static_assert(sizeof(g(0)) != 1, "Error");