]> granicus.if.org Git - clang/commitdiff
Fix a couple of tests.
authorEli Friedman <eli.friedman@gmail.com>
Sat, 14 Nov 2009 04:23:25 +0000 (04:23 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sat, 14 Nov 2009 04:23:25 +0000 (04:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88756 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/malloc.c
test/CodeGenCXX/virt-dtor-gen.cpp

index 3b6ca2e51452e56a0aeaa826d08bcda1daaa43af..fb9674a32b2a53edad4723a7f981fe86318555e8 100644 (file)
@@ -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 *);
 
index 470c1a43c56be719468b218f2d509de9ba559cf3..704d735c776efca20837cfffe8040adec4e2bf51 100644 (file)
@@ -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.