blob: 6bb808a6f425a6638af99fb85f728b9143920eb9 [file] [log] [blame]
// RUN: %swift -target x86_64-unknown-windows-msvc -emit-ir -verify %s
sil_stage canonical
// expected-error@+1{{attribute '_weakLinked' is unsupported on target 'x86_64-unknown-windows-msvc'}}
sil [_weakLinked] @f : $@convention(thin) () -> () {
%unit = tuple()
return %unit : $()
}