blob: dd1d2ad75d82aea758d8b15ef3eee7ffa4f17c95 [file] [log] [blame]
// RUN: %target-jit-run -O %s | %FileCheck %s
// REQUIRES: executable_test
// REQUIRES: swift_interpreter
// Check that when running the jit with -O we don't crash with an unresolved
// metadata symbol.
protocol Foo {
func foo() -> Int
}
struct Dummy: Foo {
func foo() -> Int { return 42 }
}
// CHECK: ok
print("ok")