diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-11-14 04:23:25 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-11-14 04:23:25 +0000 |
commit | 2f0055275755807395cbd94e636347ae53fb1f03 (patch) | |
tree | 135fbb1286b176fbce00bfa8d4db3a0af745b357 | |
parent | ea9a20834cf9311fdf758cfbd73b8daa8e655f15 (diff) |
Fix a couple of tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88756 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Analysis/malloc.c | 2 | ||||
-rw-r--r-- | test/CodeGenCXX/virt-dtor-gen.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/malloc.c b/test/Analysis/malloc.c index 3b6ca2e514..fb9674a32b 100644 --- a/test/Analysis/malloc.c +++ b/test/Analysis/malloc.c @@ -1,5 +1,5 @@ // RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-experimental-checks -analyzer-store=region -verify %s -typedef long unsigned int size_t; +typedef __typeof(sizeof(int)) size_t; void *malloc(size_t); void free(void *); diff --git a/test/CodeGenCXX/virt-dtor-gen.cpp b/test/CodeGenCXX/virt-dtor-gen.cpp index 470c1a43c5..704d735c77 100644 --- a/test/CodeGenCXX/virt-dtor-gen.cpp +++ b/test/CodeGenCXX/virt-dtor-gen.cpp @@ -1,4 +1,4 @@ -// clang-cc -o - -emit-llvm %s | FileCheck %s +// RUN: clang-cc -o - -emit-llvm %s | FileCheck %s // PR5483 // Make sure we generate all three forms of the destructor when it is virtual. |