blob: 0a43af7c297cd12204b06b876e9302516e605e4b [file] [log] [blame]
Richard Smith9ca5c422011-10-13 22:29:44 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
Alexis Hunta56cbcc2010-11-03 01:07:06 +00002
Aaron Ballmanfee0cd42014-01-03 13:34:55 +00003void foo(int operator+); // expected-error{{'operator+' cannot be the name of a parameter}}