Files
swift-mirror/test/Interpreter/SDK/NSApplicationMain.swift
Maxwell Swadling 963619cdc1 [stdlib] C_ARG{c,v} renamed to argc/unsafeArgv
Fixes rdar://problem/17229052
Make it clear C_ARGV var is unsafe.
Made it impossible to set the argc/unsafeArgv outside of the stdlib.
Refactored tests to not use C_ARG{C,V}.
Made C_ARG{C,V} unavailable.

Swift SVN r23249
2014-11-11 22:34:49 +00:00

6 lines
128 B
Swift

// RUN: %target-build-swift -parse %s
// REQUIRES: OS=macosx
import AppKit
NSApplicationMain(Process.argc, Process.unsafeArgv)