Skip to content

Commit 380954b

Browse files
committed
Fix test failure introduced in ab187bb
This patch, #147285 introduced a test that used preserve_none/preserve_all/preserve_most for the purposes of validating its ast-dump. However, this attribute isn't supported on some platforms, so this patch adds a triple to the test to ensure we try to run it as a non-supported platform. As this is simply an ast-dump test, there is no value to running it on other configurations.
1 parent 0740db9 commit 380954b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/AST/ast-print-cconv-preserve.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -ast-print %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -ast-print -triple x86_64-unknown-unknown %s -o - | FileCheck %s
22

33
void (__attribute__((preserve_none)) *none)();
44

0 commit comments

Comments
 (0)