mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Removed from 'parseTopLevel()'. There's no particular reason to diagnose it in 'parseTopLevel()'.
8 lines
272 B
Swift
8 lines
272 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
#if arch(x86_64)
|
|
// expected-error@+2{{expected '{' in protocol type}}
|
|
// expected-error@+1{{extraneous '}' at top level}}
|
|
public protocol CS}
|
|
// expected-error@+1{{expected #else or #endif at end of conditional compilation block}}
|