| Richard Smith | 9ca5c42 | 2011-10-13 22:29:44 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11 |
| Alexis Hunt | a56cbcc | 2010-11-03 01:07:06 +0000 | [diff] [blame] | 2 | |
| Aaron Ballman | fee0cd4 | 2014-01-03 13:34:55 +0000 | [diff] [blame] | 3 | void foo(int operator+); // expected-error{{'operator+' cannot be the name of a parameter}} |