Clang Project

clang_source_code/test/SemaCXX/PR8012.cpp
1// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
2
3void foo(int operator+); // expected-error{{'operator+' cannot be the name of a parameter}}
4