From: Chris Lattner Date: Fri, 12 Dec 2008 05:59:56 +0000 (+0000) Subject: add expected diag X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4209a3909d827efb7648a9355f2976ca656da704;p=clang add expected diag git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60927 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/exprs.c b/test/Sema/exprs.c index 1b8e13405f..73d73ebe7b 100644 --- a/test/Sema/exprs.c +++ b/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; }