From 9774aa13c747c5fb6d933109a4a2a5d2d4924264 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 29 Oct 2008 13:50:18 +0000 Subject: Temporary disable the const-object-declaration-without-initializer check, because it depends on linkage-specifier semantics we don't yet have llvm-svn: 58377 --- clang/test/SemaCXX/references.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'clang/test/SemaCXX/references.cpp') diff --git a/clang/test/SemaCXX/references.cpp b/clang/test/SemaCXX/references.cpp index eebc3e8f7b3..a127f77c273 100644 --- a/clang/test/SemaCXX/references.cpp +++ b/clang/test/SemaCXX/references.cpp @@ -61,9 +61,6 @@ void test5() { int& test6(int& x) { int& yo; // expected-error{{declaration of reference variable 'yo' requires an initializer}} - - const int val; // expected-error{{declaration of const variable 'val' requires an initializer}} - return x; } int& not_initialized_error; // expected-error{{declaration of reference variable 'not_initialized_error' requires an initializer}} -- cgit v1.2.3