diff options
| author | erichkeane <ekeane@nvidia.com> | 2025-07-09 06:16:28 -0700 |
|---|---|---|
| committer | erichkeane <ekeane@nvidia.com> | 2025-07-09 06:18:49 -0700 |
| commit | 380954b26f64cb31da028d355941a394a3d0dacc (patch) | |
| tree | 79b76fd67c3e64fc053809572fef6fbe7639b086 | |
| parent | 0740db9bc12672295bde72e7007f7837f7f632c0 (diff) | |
| download | llvm-380954b26f64cb31da028d355941a394a3d0dacc.zip llvm-380954b26f64cb31da028d355941a394a3d0dacc.tar.gz llvm-380954b26f64cb31da028d355941a394a3d0dacc.tar.bz2 | |
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.
| -rw-r--r-- | clang/test/AST/ast-print-cconv-preserve.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/AST/ast-print-cconv-preserve.cpp b/clang/test/AST/ast-print-cconv-preserve.cpp index af12fe6..1cb488a 100644 --- a/clang/test/AST/ast-print-cconv-preserve.cpp +++ b/clang/test/AST/ast-print-cconv-preserve.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -ast-print %s -o - | FileCheck %s +// RUN: %clang_cc1 -ast-print -triple x86_64-unknown-unknown %s -o - | FileCheck %s void (__attribute__((preserve_none)) *none)(); |
