mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 16:30:53 -05:00
14 lines
255 B
C++
14 lines
255 B
C++
// RUN: %clang_cc1 -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>();
|
|
}
|