1 // RUN: %clang -E -fsanitize=undefined %s -o - | FileCheck --check-prefix=CHECK-UBSAN %s
2 // RUN: %clang -E -fsanitize=alignment %s -o - | FileCheck --check-prefix=CHECK-ALIGNMENT %s
3 // RUN: %clang -E %s -o - | FileCheck --check-prefix=CHECK-NO-UBSAN %s
5 #if __has_feature(undefined_behavior_sanitizer)
11 // CHECK-UBSAN: UBSanEnabled
12 // CHECK-ALIGNMENT: UBSanEnabled
13 // CHECK-NO-UBSAN: UBSanDisabled