blob: 77b2bdce30f0d0003672ba3097f7fa11b6a9c7b6 [file] [log] [blame]
Douglas Gregorad2956c2009-11-19 18:03:26 +00001// RUN: clang-cc -fsyntax-only -verify %s
2
3template<int N>
4void f() {
5 int a[] = { 1, 2, 3, N };
6 unsigned numAs = sizeof(a) / sizeof(int);
7}
8
9template void f<17>();
10