Add my test case for r128353. I think this is the last test case to fail

to be added... Sorry for the noise.

llvm-svn: 128395
This commit is contained in:
Chandler Carruth 2011-03-27 21:03:41 +00:00
parent edcc04e05b
commit 82701204a4
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
// RUN: %clang -### -S -fwrapv -fno-wrapv -fwrapv %s 2>&1 | FileCheck -check-prefix=CHECK1 %s
// CHECK1: -fwrapv
//
// RUN: %clang -### -S -fstrict-overflow -fno-strict-overflow %s 2>&1 | FileCheck -check-prefix=CHECK2 %s
// CHECK2: -fwrapv
//
// RUN: %clang -### -S -fwrapv -fstrict-overflow %s 2>&1 | FileCheck -check-prefix=CHECK3 %s
// CHECK3: -fwrapv
//
// RUN: %clang -### -S -fno-wrapv -fno-strict-overflow %s 2>&1 | FileCheck -check-prefix=CHECK4 %s
// CHECK4-NOT: -fwrapv