[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenCXX / mangle-98.cpp
blob089015584b37b812c4f8498c05815b3391a11138
1 // RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 -std=c++98 | FileCheck %s
3 template <bool B> struct S3 {};
5 // CHECK-LABEL: define{{.*}} void @_Z1f2S3ILb1EE
6 void f(S3<true>) {}
8 // CHECK-LABEL: define{{.*}} void @_Z1f2S3ILb0EE
9 void f(S3<false>) {}
11 // CHECK-LABEL: define{{.*}} void @_Z2f22S3ILb1EE
12 void f2(S3<100>) {}