[PCH] Include a darwin-only PCH test on Cocoa.h.
llvm-svn: 151668
This commit is contained in:
parent
5929ef2ee7
commit
5cb4760aed
7
clang/test/PCH/cocoa.m
Normal file
7
clang/test/PCH/cocoa.m
Normal file
@ -0,0 +1,7 @@
|
||||
// RUN: %clang -arch x86_64 -x objective-c-header %s -o %t.h.pch
|
||||
// RUN: touch %t.empty.m
|
||||
// RUN: %clang -arch x86_64 -fsyntax-only %t.empty.m -include %t.h -Xclang -ast-dump 2>&1 > /dev/null
|
||||
#ifdef __APPLE__
|
||||
#include <Cocoa/Cocoa.h>
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user