aboutsummaryrefslogtreecommitdiff
path: root/clang/test/InterfaceStubs/template-constexpr.cpp
blob: d517d8e71782113e8785b5a59524fa15d5ec8c00 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -o - -emit-interface-stubs %s | FileCheck %s

// CHECK:      --- !ifs-v1
// CHECK-NEXT: IfsVersion: 3.0
// CHECK-NEXT: Target:
// CHECK-NEXT: Symbols:
// CHECK-NEXT: ...

template<typename T, T v> struct S8 { static constexpr T value = v; };
template<typename T, T v> constexpr T S8<T, v>::value;