Richard Smith 9ca5c42582 Update all tests other than Driver/std.cpp to use -std=c++11 rather than
-std=c++0x. Patch by Ahmed Charles!

llvm-svn: 141900
2011-10-13 22:29:44 +00:00

4 lines
137 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
void foo (int operator+); // expected-error{{cannot be the name of a parameter}}