summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/references.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2008-10-29 13:50:18 +0000
committerDouglas Gregor <dgregor@apple.com>2008-10-29 13:50:18 +0000
commit9774aa13c747c5fb6d933109a4a2a5d2d4924264 (patch)
treefa0fedbac4e707cddc6e0a92da6b66265e1f6d54 /clang/test/SemaCXX/references.cpp
parentb3a36cf86acbcc4b3155622b246eb31447c92d50 (diff)
downloadbcm5719-llvm-9774aa13c747c5fb6d933109a4a2a5d2d4924264.tar.gz
bcm5719-llvm-9774aa13c747c5fb6d933109a4a2a5d2d4924264.zip
Temporary disable the const-object-declaration-without-initializer check, because it depends on linkage-specifier semantics we don't yet have
llvm-svn: 58377
Diffstat (limited to 'clang/test/SemaCXX/references.cpp')
-rw-r--r--clang/test/SemaCXX/references.cpp3
1 files changed, 0 insertions, 3 deletions
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}}
OpenPOWER on IntegriCloud