Daniel Dunbar | 80737ad | 2009-12-15 22:01:24 +0000 | [diff] [blame] | 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 |
Sebastian Redl | a98c034 | 2009-10-26 18:07:30 +0000 | [diff] [blame] | 2 | // CHECK-NOT: ### |
Daniel Dunbar | 8477ee9 | 2009-12-04 21:55:23 +0000 | [diff] [blame] | 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"} |