mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
11 lines
293 B
Swift
11 lines
293 B
Swift
// RUN: rm -rf %t
|
|
// RUN: mkdir -p %t
|
|
// RUN: %target-swift-frontend %s -emit-module -parse-as-library -o %t
|
|
// RUN: %target-sil-opt -enable-sil-verify-all %t/alignment.swiftmodule -o - | %FileCheck %s
|
|
|
|
//CHECK: @_alignment(16) struct Foo {
|
|
@_alignment(16) struct Foo {}
|
|
|
|
func foo(x: Foo) {}
|
|
|