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