llvm-capstone/clang/test/CodeGen/as-secure-log-file.c
Ben Langmuir fd35e15060 [clang][test] Require x86 target in a couple new tests
Attempt to fix test failures on bots that don't configure x86 target.
2022-10-28 17:00:18 -07:00

10 lines
255 B
C

// REQUIRES: x86-registered-target
// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-obj %s -o %t.o -as-secure-log-file %t.log
// RUN: FileCheck %s -input-file %t.log
// CHECK: "foobar"
void test(void) {
__asm__(".secure_log_unique \"foobar\"");
}