mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
a0aaca176c
Thanks to Zachary Waldowski for helping clarify this.
6 lines
200 B
Swift
6 lines
200 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: cp %s %t/main.swift
|
|
// RUN: %target-swift-frontend -typecheck -playground %t/main.swift -verify
|
|
|
|
var $a = 2 // expected-error {{cannot declare entity named '$a'}}
|