blob: 4d3e2ffe06f445fd3482bea3c0eb8ee8968ce12d [file] [log] [blame]
Ted Kremenek67330f12012-09-13 17:25:51 +00001// 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