summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/exprs.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/exprs.c')
-rw-r--r--clang/test/Sema/exprs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/exprs.c b/clang/test/Sema/exprs.c
index 1b8e13405f1..73d73ebe7b1 100644
--- a/clang/test/Sema/exprs.c
+++ b/clang/test/Sema/exprs.c
@@ -42,6 +42,6 @@ void test7(int *P, _Complex float Gamma) {
// rdar://6095061
int test8(void) {
int i;
- __builtin_choose_expr (0, 42, i) = 10;
+ __builtin_choose_expr (0, 42, i) = 10; // expected-warning {{extension used}}
return i;
}
OpenPOWER on IntegriCloud