mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
11 lines
255 B
Swift
11 lines
255 B
Swift
// RUN: %target-swift-frontend %clang-importer-sdk -parse %s -verify
|
|
// REQUIRES: objc_interop
|
|
|
|
import Foundation
|
|
|
|
class RV {
|
|
init() {
|
|
NSPrefixWordBreak2.BreakBarBas.rawValue = 0 // expected-error{{cannot assign to the result of this expression}}
|
|
}
|
|
}
|