brintos

brintos / llvm-project-archived public Read only

0
0
Text · 430 B · e72dbde Raw
19 lines · plain
1// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.3-library %s \2// RUN:   -emit-llvm -disable-llvm-passes -o - | FileCheck %s3 4// CHECK: define void @_Z2f1v() [[Attr:\#[0-9]+]]5export void f1() {6}7 8// CHECK: define void @_ZN11MyNamespace2f2Ev()9namespace MyNamespace {10  export void f2() {11  }12}13 14export {15// CHECK: define void @_Z2f3v()16// CHECK: define void @_Z2f4v()17    void f3() {}18    void f4() {}19}