Sign in
fuchsia
/
third_party
/
swift
/
f0b10427e3ec291ffd449ff18212ff36dda6ab50
/
.
/
test
/
Interpreter
/
repl_hashbang.swift
blob: c9375118b7d17c4f859922a9466db4cae48e5c1f [
file
] [
log
] [
blame
]
#!/usr/bin/swift
class
Foo
{}
// Check that we diagnose and skip the hashbang in the REPL.
// RUN: %target-repl-run-simple-swift | %FileCheck %s
// REQUIRES: swift_repl
// CHECK: error: hashbang line is allowed only in the main file