| 1 |
// RUN: rm -rf %t-mcp |
| 2 |
// RUN: %clang_cc1 -objcmt-migrate-subscripting -emit-pch -o %t.pch %s -isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -F %S/Inputs -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-mcp -w |
| 3 |
// RUN: %clang_cc1 -objcmt-migrate-subscripting -include-pch %t.pch %s -migrate -o %t.remap -isysroot %S/Inputs/System -triple x86_64-apple-darwin10 -F %S/Inputs -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-mcp |
| 4 |
// REQUIRES: x86-registered-target |
| 5 |
#ifndef HEADER |
| 6 |
#define HEADER |
| 7 |
|
| 8 |
@import Module; |
| 9 |
|
| 10 |
#else |
| 11 |
|
| 12 |
#endif |