1// PR c++/26559
2
3template<bool> struct cond;
4
5template<int> struct S {
6  void f(int i) {
7    cond<__builtin_constant_p(i)>();
8  }
9};
10
11S<1> s;
12