Fix the clang-wpa example.
[clang.git] / test / Driver / qa_override.c
blob5f96976ee98e192c47e076dcb03e6f61074cade8
1 // RUN: env QA_OVERRIDE_GCC3_OPTIONS="#+-Os +-Oz +-O +-O3 +-Oignore +a +b +c xb Xa Omagic ^-ccc-print-options " %clang x -O2 b -O3 2>&1 | FileCheck %s
2 // CHECK-NOT: ###
3 // CHECK: Option 0 - Name: "-ccc-print-options", Values: {}
4 // CHECK-NEXT: Option 1 - Name: "<input>", Values: {"x"}
5 // CHECK-NEXT: Option 2 - Name: "-O", Values: {"ignore"}
6 // CHECK-NEXT: Option 3 - Name: "-O", Values: {"magic"}