// { dg-do compile { target c++11 } } // { dg-prune-output "note:" } template struct enable_if { }; template struct enable_if { typedef _Tp type; }; template constexpr typename enable_if::type operator""_t () // { dg-error "no type named|in" } { return 2; } template constexpr typename enable_if::type operator""_t () // { dg-error "no type named|in" } { return 1; } int a = 45_t; int b = 4_t; int c = 100000_t; // { dg-error "no matching function for call to" }