summaryrefslogtreecommitdiffstats
path: root/test/ASTMerge/choose-expr/Inputs/choose.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ASTMerge/choose-expr/Inputs/choose.c')
-rw-r--r--test/ASTMerge/choose-expr/Inputs/choose.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ASTMerge/choose-expr/Inputs/choose.c b/test/ASTMerge/choose-expr/Inputs/choose.c
new file mode 100644
index 0000000000..0b413a6554
--- /dev/null
+++ b/test/ASTMerge/choose-expr/Inputs/choose.c
@@ -0,0 +1,2 @@
+_Static_assert(__builtin_choose_expr(1, 1, 0), "Incorrect semantics of __builtin_choose_expr");
+_Static_assert(__builtin_choose_expr(0, 0, 1), "Incorrect semantics of __builtin_choose_expr");