summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/PR8012.cpp
blob: 9cfc2b000c01453b22026c62786cdf9a762a3151 (about) (plain)
1
2
3
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11

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