llvm-project/clang/test/Modules/Inputs/merge-var-template-def/a.h

9 lines
156 B
C++

#ifndef A_H
#define A_H
template<typename T, T v>
struct S { static constexpr T value = v; };
template<typename T, T v>
constexpr T S<T, v>::value;
#endif