aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-07-11 01:00:52 +0000
committerAnders Carlsson <andersca@mac.com>2009-07-11 01:00:52 +0000
commit3591b1ae0a48e7a5ddc878bf334165ff1aaa56fc (patch)
tree27ae4c573f32491b4f9ab11780ffa4229de6dc46
parent3bccf083327e75d29e857c3fed05f89706619205 (diff)
Fix a test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75327 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/SemaCXX/auto-cxx0x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/auto-cxx0x.cpp b/test/SemaCXX/auto-cxx0x.cpp
index 33156ef23d..aa92bbe4f1 100644
--- a/test/SemaCXX/auto-cxx0x.cpp
+++ b/test/SemaCXX/auto-cxx0x.cpp
@@ -1,5 +1,5 @@
// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
void f() {
- auto int a; // expected-error{{cannot combine with previous 'auto' declaration specifier}}
+ auto int a; // expected-error{{cannot combine with previous 'auto' declaration specifier}} // expected-error{{declaration of variable 'a' with type 'auto' requires an initializer}}
int auto b; // expected-error{{cannot combine with previous 'int' declaration specifier}}
}