]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGenCXX/mangle-98.cpp
Vendor import of clang release_50 branch r309439:
[FreeBSD/FreeBSD.git] / test / CodeGenCXX / mangle-98.cpp
1 // RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 -std=c++98 | FileCheck %s
2
3 template <bool B> struct S3 {};
4
5 // CHECK-LABEL: define void @_Z1f2S3ILb1EE
6 void f(S3<true>) {}
7
8 // CHECK-LABEL: define void @_Z1f2S3ILb0EE
9 void f(S3<false>) {}
10
11 // CHECK-LABEL: define void @_Z2f22S3ILb1EE
12 void f2(S3<100>) {}