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

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