blob: b1bbc5fd9c9f296627703687909f460fa19c2a60 [file] [log] [blame]
// RUN: %swift -target x86_64-apple-macosx10.10 -emit-ir -parse-stdlib -primary-file %s -module-name main -o - | %FileCheck %s -check-prefix CHECK-MACHO
// RUN: %swift -target x86_64-unknown-linux-gnu -emit-ir -parse-stdlib -primary-file %s -module-name main -o - | %FileCheck %s -check-prefix CHECK-ELF
// RUN: %swift -target x86_64-unknown-windows-itanium -emit-ir -parse-stdlib -primary-file %s -module-name main -o - | %FileCheck %s -check-prefix CHECK-COFF
// CHECK-MACHO: @_T04main1sVMn = constant {{.*}}, section "__TEXT,__const"
// CHECK-ELF: @_T04main1sVMn = {{.*}}constant {{.*}}, section ".rodata"
// CHECK-COFF: @_T04main1sVMn = {{.*}}constant {{.*}}, section ".rdata"
public struct s {
}