hanchenye-llvm-project/clang/test/SemaTemplate/instantiate-expr-5.cpp

5 lines
111 B
C++

// RUN: clang-cc -fsyntax-only %s
template <class A> int x(A x) { return x++; }
int y() { return x<int>(1); }