diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2012-12-02 13:20:44 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2012-12-02 13:20:44 +0000 |
commit | 13cc256e404620c1de0cbcc4e43ce1e2dbbc4898 (patch) | |
tree | 2732d02d7d51218d6eed98ac7fcfc5b8794896b5 /test/CodeGen/fold-const-declref.c | |
parent | 657bc3d9848e3be92029b2416031340988cd0111 (diff) |
Notes
Diffstat (limited to 'test/CodeGen/fold-const-declref.c')
-rw-r--r-- | test/CodeGen/fold-const-declref.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/fold-const-declref.c b/test/CodeGen/fold-const-declref.c index 5a7ba8e26a77..f49611cda79a 100644 --- a/test/CodeGen/fold-const-declref.c +++ b/test/CodeGen/fold-const-declref.c @@ -1,9 +1,9 @@ -// RUN: %clang_cc1 -verify -emit-llvm-only +// RUN: %clang_cc1 -verify -emit-llvm-only %s // PR7242: Check that this doesn't crash. int main(void) { int __negative = 1; const int __max = __negative && 0 ; - __max / 0; + __max / 0; // expected-warning{{expression result unused}} expected-warning{{division by zero is undefined}} } |