Richard Smith | 8ef7b20 | 2012-01-18 23:55:52 +0000 | [diff] [blame] | 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: define void @_Z1f2S3ILb1EE | ||||
6 | void f(S3<true>) {} | ||||
7 | |||||
8 | // CHECK: define void @_Z1f2S3ILb0EE | ||||
9 | void f(S3<false>) {} | ||||
10 | |||||
11 | // CHECK: define void @_Z2f22S3ILb1EE | ||||
12 | void f2(S3<100>) {} |