Home | History | Annotate | Download | only in Driver
      1 // RUN: %clang -ccc-print-options \
      2 // RUN:  --save-temps --undefine-macro=FOO --undefine-macro FOO \
      3 // RUN: --param=FOO --output=FOO 2> %t
      4 // RUN: FileCheck --check-prefix=CHECK-OPTIONS < %t %s
      5 
      6 // CHECK-OPTIONS: Option 0 - Name: "-ccc-print-options", Values: {}
      7 // CHECK-OPTIONS: Option 1 - Name: "-save-temps", Values: {}
      8 // CHECK-OPTIONS: Option 2 - Name: "-U", Values: {"FOO"}
      9 // CHECK-OPTIONS: Option 3 - Name: "-U", Values: {"FOO"}
     10 // CHECK-OPTIONS: Option 4 - Name: "--param", Values: {"FOO"}
     11 // CHECK-OPTIONS: Option 5 - Name: "-o", Values: {"FOO"}
     12