llvm-project/clang/test/SemaTemplate/temp.cpp

6 lines
131 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s
// p3
template<typename T> int foo(T), bar(T, T); // expected-error{{single entity}}