clang/test/VFS/framework-import.m
raw| 1 | // RUN: sed -e "s@INPUT_DIR@%{/S:regex_replacement}/Inputs@g" -e "s@OUT_DIR@%{/t:regex_replacement}@g" %S/Inputs/vfsoverlay.yaml > %t.yaml |
| 2 | // RUN: %clang_cc1 -Werror -F %t -ivfsoverlay %t.yaml -fsyntax-only %s |
| 3 | |
| 4 | #import <SomeFramework/public_header.h> |
| 5 | |
| 6 | void foo(void) { |
| 7 | from_framework(); |
| 8 | } |