aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Analysis/reference.cpp
diff options
context:
space:
mode:
authorJordy Rose <jediknil@belkadan.com>2012-05-16 16:01:14 +0000
committerJordy Rose <jediknil@belkadan.com>2012-05-16 16:01:14 +0000
commit09e7c8894035f79f6287d0407c7b257fe3d5d294 (patch)
tree3f9360f6687fe8977e6b5ecdeedf92e2a7d0e851 /clang/test/Analysis/reference.cpp
parent6d5a8caac3c44587d8a7eb0f7137e4d4a6302bfe (diff)
downloadllvm-09e7c8894035f79f6287d0407c7b257fe3d5d294.zip
llvm-09e7c8894035f79f6287d0407c7b257fe3d5d294.tar.gz
llvm-09e7c8894035f79f6287d0407c7b257fe3d5d294.tar.bz2
[analyzer] Fix RUN lines for old XFAIL tests, one of which actually works.
llvm-svn: 156921
Diffstat (limited to 'clang/test/Analysis/reference.cpp')
-rw-r--r--clang/test/Analysis/reference.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/Analysis/reference.cpp b/clang/test/Analysis/reference.cpp
index 5897e68..e80952b 100644
--- a/clang/test/Analysis/reference.cpp
+++ b/clang/test/Analysis/reference.cpp
@@ -1,11 +1,10 @@
// RUN: %clang_cc1 -analyze -analyzer-checker=core,experimental.core -analyzer-store=region -analyzer-constraints=range -verify -Wno-null-dereference %s
-// XFAIL
typedef typeof(sizeof(int)) size_t;
void malloc (size_t);
void f1() {
- int const &i = 3; // <--- **FIXME** This is currently not being modeled correctly.
+ int const &i = 3;
int b = i;
int *p = 0;