mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
2b8ee6e5a2
This ensures that we use the correct llvm-bcanalyzer from the just built compiler tools.
12 lines
458 B
Swift
12 lines
458 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -emit-module -o %t %S/Inputs/has_nested_generic_extension.swift
|
|
// RUN: %llvm-bcanalyzer %t/has_nested_generic_extension.swiftmodule | %FileCheck %s
|
|
// RUN: %target-swift-frontend -emit-ir -I %t %s -o /dev/null
|
|
|
|
// CHECK-NOT: UnknownCode
|
|
|
|
import has_nested_generic_extension
|
|
|
|
var sillyGeneric = Outer<String>.Inner<Float>()
|
|
let result: Float = sillyGeneric.extensionMethod(t: "square root of two")
|