Sign in
fuchsia
/
third_party
/
swift
/
67fb4d9d4316d09b66677ed1fb1a5ccf6b840e42
/
.
/
test
/
Interpreter
/
repl_hashbang.swift
blob: 863d43fcddbf99ce7fae464853149a83be74a852 [
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