freebsd-nq/test/SemaTemplate/instantiate-declref-ice.cpp

8 lines
111 B
C++
Raw Normal View History

2009-06-14 09:24:02 +00:00
// RUN: clang-cc -fsyntax-only -verify %s
template<int i> struct x {
static const int j = i;
x<j>* y;
};