blob: a4f97e820b4c80735fbff52cb00a77a1c1046333 [file] [log] [blame]
Joey Gouly85489082012-11-23 10:39:49 +00001// RUN: %clang -fsanitize=bounds -### -fsyntax-only %s 2> %t
2// RUN: FileCheck -check-prefix=CHECK < %t %s
3// CHECK: "-fsanitize=bounds"
Nuno Lopesb3198a82012-05-08 22:10:46 +00004
Joey Gouly85489082012-11-23 10:39:49 +00005// 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"