summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/constant-non-specialized-tp.hpp
blob: 539c28870bc1749eb9de41c78473e541b0f4f463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// bindgen-flags: -- -std=c++11

// This test ensure we protect ourselves from an LLVM crash.

template <class... Args>
struct Test {
  static constexpr bool x[] = {Args::x...};
};

template<typename... T>
struct Outer {
  struct Inner {
    static constexpr int value[] = { T::value... };
  };
};