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

5 lines
113 B
C++

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