Joey Gouly | 8548908 | 2012-11-23 10:39:49 +0000 | [diff] [blame] | 1 | // RUN: %clang -fsanitize=bounds -### -fsyntax-only %s 2> %t |
| 2 | // RUN: FileCheck -check-prefix=CHECK < %t %s |
| 3 | // CHECK: "-fsanitize=bounds" |
Nuno Lopes | b3198a8 | 2012-05-08 22:10:46 +0000 | [diff] [blame] | 4 | |
Joey Gouly | 8548908 | 2012-11-23 10:39:49 +0000 | [diff] [blame] | 5 | // RUN: %clang -fbounds-checking -### -fsyntax-only %s 2> %t |
| 6 | // RUN: FileCheck -check-prefix=CHECK-OLD < %t %s |
| 7 | // CHECK-OLD: "-fsanitize=bounds" |
| 8 | |
| 9 | // RUN: %clang -fbounds-checking=3 -### -fsyntax-only %s 2> %t |
| 10 | // RUN: FileCheck -check-prefix=CHECK-OLD2 < %t %s |
| 11 | // CHECK-OLD2: "-fsanitize=bounds" |