Skip to content

Commit 6d483b3

Browse files
committed
[clang][bytecode] Redo RUN lines in the builtin-functions test
Make sure we run each configuration once with the bytecode interpreter and once with the current one. Add a triple to the one that was previously without.
1 parent 5c02f1a commit 6d483b3

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

clang/test/AST/ByteCode/builtin-functions.cpp

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1-
// RUN: %clang_cc1 -Wno-string-plus-int -fexperimental-new-constant-interpreter %s -verify=expected,both
1+
// RUN: %clang_cc1 -Wno-string-plus-int -fexperimental-new-constant-interpreter -triple x86_64 %s -verify=expected,both
2+
// RUN: %clang_cc1 -Wno-string-plus-int -triple x86_64 %s -verify=ref,both
3+
//
24
// RUN: %clang_cc1 -Wno-string-plus-int -fexperimental-new-constant-interpreter -triple i686 %s -verify=expected,both
3-
// RUN: %clang_cc1 -Wno-string-plus-int -verify=ref,both %s -Wno-constant-evaluated
4-
// RUN: %clang_cc1 -std=c++20 -Wno-string-plus-int -fexperimental-new-constant-interpreter %s -verify=expected,both
5+
// RUN: %clang_cc1 -Wno-string-plus-int -triple i686 %s -verify=ref,both
6+
//
7+
// RUN: %clang_cc1 -std=c++20 -Wno-string-plus-int -fexperimental-new-constant-interpreter -triple x86_64 %s -verify=expected,both
8+
// RUN: %clang_cc1 -std=c++20 -Wno-string-plus-int -triple x86_64 %s -verify=ref,both
9+
//
510
// RUN: %clang_cc1 -std=c++20 -Wno-string-plus-int -fexperimental-new-constant-interpreter -triple i686 %s -verify=expected,both
6-
// RUN: %clang_cc1 -std=c++20 -Wno-string-plus-int -verify=ref,both %s -Wno-constant-evaluated
11+
// RUN: %clang_cc1 -std=c++20 -Wno-string-plus-int -triple i686 %s -verify=ref,both
12+
//
713
// RUN: %clang_cc1 -triple avr -std=c++20 -Wno-string-plus-int -fexperimental-new-constant-interpreter %s -verify=expected,both
8-
// RUN: %clang_cc1 -triple avr -std=c++20 -Wno-string-plus-int -verify=ref,both %s -Wno-constant-evaluated
14+
// RUN: %clang_cc1 -triple avr -std=c++20 -Wno-string-plus-int -verify=ref,both %s
915

1016
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
1117
#define LITTLE_END 1

0 commit comments

Comments
 (0)