brintos

brintos / llvm-project-archived public Read only

0
0
Text · 435 B · bfb7f14 Raw
18 lines · plain
1// RUN: %clang_cc1 -E %s -o %t.mm2// RUN: %clang -fms-extensions -rewrite-objc %t.mm -o %t-rw.cpp3// RUN: FileCheck -check-prefix CHECK-LP --input-file=%t-rw.cpp %s4// RUN: %clang -g -fms-extensions -rewrite-objc %t.mm -o %t-rw.cpp5// RUN: FileCheck -check-prefix CHECK-LPG --input-file=%t-rw.cpp %s6 7int z();8 9int x() {10    id foo;11    for (id y in foo) {12        z();13    }14    return 0;15}16// CHECK-LP-NOT: #line17// CHECK-LPG: #line18