Check that Foundation.h can be correctly imported into an ObjC++ program (i.e. we haven't used things like template or class as identifier names anywhere).

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32636 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2011-03-17 15:27:00 +00:00
parent cca58eed8f
commit 8e3e6e008b

View file

@ -0,0 +1,12 @@
#include <Foundation/Foundation.h>
#include "ObjectTesting.h"
@class NSAutoreleasePool;
int main()
{
NSAutoreleasePool *arp = [NSAutoreleasePool new];
PASS (1, "include of Foundation/Foundation.h works in an Objective-C++ program");
[arp release];
return 0;
}