]> granicus.if.org Git - clang/commitdiff
This test needs a triple: it's checking the alignment of a pointer in bytes.
authorJohn McCall <rjmccall@apple.com>
Sat, 21 Aug 2010 04:58:16 +0000 (04:58 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 21 Aug 2010 04:58:16 +0000 (04:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111727 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/address-space-field1.c

index f0be2138b39a6b757004b6a6f38926963062d59b..73c4da163c4ca34db6a72c06d85ae611e847a4d7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm < %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -triple x86_64-apple-darwin10 < %s -o - | FileCheck %s
 // CHECK:%struct.S = type { i32, i32 }
 // CHECK:define void @test_addrspace(%struct.S addrspace(1)* %p1, %struct.S addrspace(2)* %p2) nounwind
 // CHECK:  [[p1addr:%.*]] = alloca %struct.S addrspace(1)*