summaryrefslogtreecommitdiffstats
path: root/test/Driver/qa_override.c
blob: 0ff578c2a814893684bec9e30054e395d7e2eafb (plain)
1
2
3
4
5
6
// 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> %t &&
// RUN: grep -F 'Option 0 - Name: "<input>", Values: {"x"}' %t &&
// RUN: grep -F 'Option 1 - Name: "-O", Values: {"ignore"}' %t &&
// RUN: grep -F 'Option 2 - Name: "-O", Values: {"magic"}' %t &&
// RUN: true

OpenPOWER on IntegriCloud