diff options
Diffstat (limited to 'test/COFF/Inputs/lto-comdat1.ll')
-rw-r--r-- | test/COFF/Inputs/lto-comdat1.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/COFF/Inputs/lto-comdat1.ll b/test/COFF/Inputs/lto-comdat1.ll new file mode 100644 index 0000000000000..7a9f50c0f9db2 --- /dev/null +++ b/test/COFF/Inputs/lto-comdat1.ll @@ -0,0 +1,13 @@ +target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" +target triple = "x86_64-pc-windows-msvc" + +$comdat = comdat any + +define void @f1() { + call void @comdat() + ret void +} + +define linkonce_odr void @comdat() comdat { + ret void +} |