mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
984210aa53
These changes were made using a script.
10 lines
305 B
Swift
10 lines
305 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend %s -emit-module -parse-as-library -o %t
|
|
// RUN: %target-sil-opt -disable-sil-linking -enable-sil-verify-all %t/alignment.swiftmodule -o - | %FileCheck %s
|
|
|
|
//CHECK: @_alignment(16) struct Foo {
|
|
@_alignment(16) struct Foo {}
|
|
|
|
func foo(x: Foo) {}
|
|
|