mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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) {}
|
|
|