1 // { dg-do compile { target c++14 } }
6 static constexpr int a = A;
7 static constexpr int b = B;
11 constexpr int var = T::a + T::b;
13 template<template<int,int> class T, int A>
14 constexpr int var2 = var<T<A, A>> + A;
18 static_assert(var2<S1, 40> == 120, "");