[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / Rewriter / rewrite-line-directive.m
blobbfb7f14d20f1f3c1805f28330b98a9776b43dc09
1 // RUN: %clang_cc1 -E %s -o %t.mm
2 // RUN: %clang -fms-extensions -rewrite-objc %t.mm -o %t-rw.cpp
3 // RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s
4 // RUN: %clang -g -fms-extensions -rewrite-objc %t.mm -o %t-rw.cpp
5 // RUN: FileCheck -check-prefix CHECK-LPG --input-file=%t-rw.cpp %s
7 int z();
9 int x() {
10     id foo;
11     for (id y in foo) {
12         z();
13     }
14     return 0;
16 // CHECK-LP-NOT: #line
17 // CHECK-LPG: #line