Use -check-prefix to make it clear the test is SVR4/DARWINPPC specific.

llvm-svn: 123005
This commit is contained in:
Roman Divacky 2011-01-07 19:01:39 +00:00
parent 1b805a0bc9
commit 7e96295fb5
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
// RUN: %clang_cc1 -triple powerpc-apple-darwin -emit-llvm -o - %s| FileCheck %s
// RUN: %clang_cc1 -triple powerpc-apple-darwin -emit-llvm -o - %s| FileCheck -check-prefix=DARWINPPC-CHECK %s
int boolsize = sizeof(_Bool);
//CHECK: boolsize = global i32 4, align 4
//DARWINPPC-CHECK: boolsize = global i32 4, align 4

View File

@ -1,6 +1,6 @@
// RUN: %clang_cc1 -triple powerpc-unknown-freebsd -emit-llvm -o - %s| FileCheck %s
// RUN: %clang_cc1 -triple powerpc-unknown-freebsd -emit-llvm -o - %s| FileCheck -check-prefix=SVR4-CHECK %s
#include <stdarg.h>
int va_list_size = sizeof(va_list);
// CHECK: va_list_size = global i32 12, align 4
// SVR4-CHECK: va_list_size = global i32 12, align 4