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 Sambucvoid f(S3<true>) {} 7*f4a2713aSLionel Sambuc 8*f4a2713aSLionel Sambuc // CHECK-LABEL: define void @_Z1f2S3ILb0EE f(S3<false>)9*f4a2713aSLionel Sambucvoid f(S3<false>) {} 10*f4a2713aSLionel Sambuc 11*f4a2713aSLionel Sambuc // CHECK-LABEL: define void @_Z2f22S3ILb1EE f2(S3<100>)12*f4a2713aSLionel Sambucvoid f2(S3<100>) {} 13