1 2 3 4 5 6 7 8 9 10 11 12 13 14
// RUN: clang-cc -fsyntax-only -verify %s // PR5311 template<typename T> class StringSwitch { public: template<unsigned N> void Case(const char (&S)[N], const int & Value) { } }; int main(int argc, char *argv[]) { (void)StringSwitch<int>(); }