| 1 | // RUN: %clang_cc1 -std=c++11 -verify %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | template<int &...Ns> int f() { |
| 5 | return sizeof...(Ns); |
| 6 | } |
| 7 | template int f<>(); |
| 8 |
| 1 | // RUN: %clang_cc1 -std=c++11 -verify %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | template<int &...Ns> int f() { |
| 5 | return sizeof...(Ns); |
| 6 | } |
| 7 | template int f<>(); |
| 8 |