clang/test/Driver/cxx-operator-names.cpp
raw| 1 | // RUN: %clang -### -S -foperator-names -fno-operator-names %s 2>&1 | \ |
| 2 | // RUN: FileCheck -check-prefix=CHECK-1 %s |
| 3 | // CHECK-1: "-fno-operator-names" |
| 4 | |
| 5 | // RUN: %clang -### -S -fno-operator-names -foperator-names %s 2>&1 | \ |
| 6 | // RUN: FileCheck -check-prefix=CHECK-2 %s |
| 7 | // CHECK-2-NOT: "-fno-operator-names" |