xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-98.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 -std=c++98 | FileCheck %s
2*f4a2713aSLionel Sambuc 
3*f4a2713aSLionel Sambuc template <bool B> struct S3 {};
4*f4a2713aSLionel Sambuc 
5*f4a2713aSLionel Sambuc // CHECK-LABEL: define void @_Z1f2S3ILb1EE
f(S3<true>)6*f4a2713aSLionel Sambuc void f(S3<true>) {}
7*f4a2713aSLionel Sambuc 
8*f4a2713aSLionel Sambuc // CHECK-LABEL: define void @_Z1f2S3ILb0EE
f(S3<false>)9*f4a2713aSLionel Sambuc void f(S3<false>) {}
10*f4a2713aSLionel Sambuc 
11*f4a2713aSLionel Sambuc // CHECK-LABEL: define void @_Z2f22S3ILb1EE
f2(S3<100>)12*f4a2713aSLionel Sambuc void f2(S3<100>) {}
13