mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
11 lines
243 B
Swift
11 lines
243 B
Swift
// RUN: %swift -triple x86_64-apple-darwin10 %s -emit-llvm -g -o - | FileCheck %s
|
|
struct Foo {
|
|
// CHECK: [ DW_TAG_subprogram ] [line [[@LINE+1]]] [def] [constructor]
|
|
constructor (x : Int) {}
|
|
func bar (x : Int) {}
|
|
}
|
|
|
|
var f = Foo(1)
|
|
f.bar(2)
|
|
|