Files
swift-mirror/test/Serialization/alignment.swift
2016-09-02 21:36:45 -07:00

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) {}