llvm-project/clang/test/SemaTemplate/instantiate-declref-ice.cpp

8 lines
111 B
C++

// RUN: clang-cc -fsyntax-only -verify %s
template<int i> struct x {
static const int j = i;
x<j>* y;
};