diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:44:14 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:44:14 +0000 |
| commit | 2b6b257f4e5503a7a2675bdb8735693db769f75c (patch) | |
| tree | e85e046ae7003fe3bcc8b5454cd0fa3f7407b470 /test/CodeGen/cfstring.c | |
| parent | b4348ed0b7e90c0831b925fbee00b5f179a99796 (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/cfstring.c')
| -rw-r--r-- | test/CodeGen/cfstring.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/cfstring.c b/test/CodeGen/cfstring.c index 97d39b6a6595..f0862b99b43d 100644 --- a/test/CodeGen/cfstring.c +++ b/test/CodeGen/cfstring.c @@ -1,9 +1,11 @@ -// RUN: %clang_cc1 -emit-llvm %s -o %t +// REQUIRES: x86-registered-target + +// RUN: %clang_cc1 -triple x86_64-macho -emit-llvm %s -o %t // <rdar://problem/10657500>: Check that the backing store of CFStrings are // constant with the -fwritable-strings flag. // -// RUN: %clang_cc1 -fwritable-strings -emit-llvm %s -o - | FileCheck %s +// RUN: %clang_cc1 -triple x86_64-macho -fwritable-strings -emit-llvm %s -o - | FileCheck %s // // CHECK: @.str = private unnamed_addr constant [14 x i8] c"Hello, World!\00", section "__TEXT,__cstring,cstring_literals", align 1 // CHECK: @.str.1 = private unnamed_addr constant [7 x i8] c"yo joe\00", section "__TEXT,__cstring,cstring_literals", align 1 |
