aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Analysis/malloc.c2
-rw-r--r--test/CodeGenCXX/virt-dtor-gen.cpp2
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.