llvm-project/clang/test/SemaCXX/PR8012.cpp

4 lines
137 B
C++
Raw Normal View History

// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
void foo (int operator+); // expected-error{{cannot be the name of a parameter}}