mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-30 16:21:30 +00:00
8 lines
146 B
C++
8 lines
146 B
C++
// RUN: %clang_cc1 -std=c++11 -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
template<int &...Ns> int f() {
|
|
return sizeof...(Ns);
|
|
}
|
|
template int f<>();
|