mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
6 lines
294 B
Swift
6 lines
294 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -parse -primary-file %s -verify -swift-version 4
|
|
|
|
class C<throws> {} // expected-error {{expected an identifier to name generic parameter}}
|
|
precedencegroup rethrows {} // expected-error {{expected identifier after 'precedencegroup'}}
|