applescriptobjc.m   [plain text]


// TEST_CONFIG SDK=macos
// TEST_CFLAGS -framework AppleScriptObjC -framework Foundation

// Verify that trivial AppleScriptObjC apps run with GC off.

#include <Foundation/Foundation.h>
#include "test.h"

int main()
{
    [NSBundle class];
    testassert(!objc_collectingEnabled());
    succeed(__FILE__);
}