// 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 : $() | |
} | |