Files
swift-mirror/test/ClangImporter/cvars_ir.swift
Jordan Rose 61798ff6ec [test] Rename test/ClangModules to test/ClangImporter. (#5618)
...to match the component in include/ and lib/. No content change.
2016-11-02 18:00:53 -07:00

13 lines
259 B
Swift

// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) %s -emit-ir -o - | %FileCheck %s
// REQUIRES: OS=macosx
import cvars
// Check that the mangling is correct.
// CHECK: @PI = external global float, align 4
func getPI() -> Float {
return PI
}