| 1 | // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -std=c++11 -x c++ %s |
|---|---|
| 2 | |
| 3 | typedef __SIZE_TYPE__ size_t; |
| 4 | template <typename _Tp, size_t _Nm> struct array { _Tp _M_elems[_Nm]; }; |
| 5 | template <typename T> struct s { |
| 6 | array<int, 1> v{static_cast<int>(sizeof (T) / sizeof(T))}; |
| 7 | }; |
| 8 | |
| 9 |