summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/PR8012.cpp
blob: f2f07ad36400dcda924ce0fcc8cb02eb9d420c5f (plain)
1
2
3
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x

void foo (int operator+); // expected-error{{cannot be the name of a parameter}}