brintos

brintos / llvm-project-archived public Read only

0
0
Text · 338 B · 0890155 Raw
13 lines · cpp
1// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 -std=c++98 | FileCheck %s2 3template <bool B> struct S3 {};4 5// CHECK-LABEL: define{{.*}} void @_Z1f2S3ILb1EE6void f(S3<true>) {}7 8// CHECK-LABEL: define{{.*}} void @_Z1f2S3ILb0EE9void f(S3<false>) {}10 11// CHECK-LABEL: define{{.*}} void @_Z2f22S3ILb1EE12void f2(S3<100>) {}13