summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-17 00:32:04 +0000
committerChris Lattner <sabre@nondot.org>2009-02-17 00:32:04 +0000
commita89050c7881f0bc8c74ed4d9fb729ea331e358e7 (patch)
treed5612898458b69a4747589bd60608d5b5e21a5a6 /clang
parentba86ad178b9bc80d519bdd96ec26444387fa8e06 (diff)
downloadbcm5719-llvm-a89050c7881f0bc8c74ed4d9fb729ea331e358e7.tar.gz
bcm5719-llvm-a89050c7881f0bc8c74ed4d9fb729ea331e358e7.zip
sema no longer explodes, yay!
llvm-svn: 64707
Diffstat (limited to 'clang')
-rw-r--r--clang/test/Sema/unused-expr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/Sema/unused-expr.c b/clang/test/Sema/unused-expr.c
index b14daa702dd..4cc829be046 100644
--- a/clang/test/Sema/unused-expr.c
+++ b/clang/test/Sema/unused-expr.c
@@ -19,9 +19,8 @@ void bar(volatile int *VP, int *P, int A,
P[4]; // expected-warning {{expression result unused}}
VP[4]; // no warning.
- // FIXME: SEMA explodes on these.
- //__real__ C;
- //__real__ VC;
+ __real__ C; // expected-warning {{expression result unused}}
+ __real__ VC;
}
extern void t1();
OpenPOWER on IntegriCloud