| 1 | // Check that we pass -fretain-comments-from-system-headers to frontend. |
|---|---|
| 2 | // |
| 3 | // RUN: %clang -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-NO-RETAIN |
| 4 | // RUN: %clang -c %s -fretain-comments-from-system-headers -### 2>&1 | FileCheck %s --check-prefix=CHECK-RETAIN |
| 5 | // |
| 6 | // CHECK-RETAIN: -fretain-comments-from-system-headers |
| 7 | // |
| 8 | // CHECK-NO-RETAIN-NOT: -fretain-comments-from-system-headers |
| 9 | |
| 10 |