Gor Nishanov | 4ffb434 | 2016-10-02 03:31:58 +0000 | [diff] [blame] | 1 | // RUN: %clang -### %s 2>&1 | FileCheck -check-prefix=CHECK-NO-CORO %s |
| 2 | // RUN: %clang -fcoroutines-ts -fno-coroutines-ts -### %s 2>&1 | FileCheck -check-prefix=CHECK-NO-CORO %s |
| 3 | // RUN: %clang -fno-coroutines-ts -### %s 2>&1 | FileCheck -check-prefix=CHECK-NO-CORO %s |
| 4 | // CHECK-NO-CORO-NOT: -fcoroutines-ts |
| 5 | |
| 6 | // RUN: %clang -fcoroutines-ts -### %s 2>&1 | FileCheck -check-prefix=CHECK-HAS-CORO %s |
| 7 | // RUN: %clang -fno-coroutines-ts -fcoroutines-ts -### %s 2>&1 | FileCheck -check-prefix=CHECK-HAS-CORO %s |
| 8 | // CHECK-HAS-CORO: -fcoroutines-ts |
| 9 | |