You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
481 B
12 lines
481 B
4 months ago
|
// 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
|