Home | History | Annotate | Download | only in Rewriter
      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
      6 // rdar://13138170
      7 
      8 int z();
      9 
     10 int x() {
     11     id foo;
     12     for (id y in foo) {
     13         z();
     14     }
     15     return 0;
     16 }
     17 // CHECK-LP-NOT: #line
     18 // CHECK-LPG: #line
     19