Lines Matching refs:T
12 struct T { int i; }; argument
14 operator==(T const& a, T const& b) in operator ==()
19 template <typename T>
24 test_bounded_array<T, 5> array = {T{0}, T{1}, T{2}, T{3}, T{4}}; in tests()
25 T& a0 = array[0]; in tests()
27 CHECK(a0 == T{0}); in tests()
28 T& a1 = array[1]; in tests()
29 CHECK(a1 == T{1}); in tests()
30 T& a2 = array[2]; in tests()
31 CHECK(a2 == T{2}); in tests()
32 T& a3 = array[3]; in tests()
33 CHECK(a3 == T{3}); in tests()
34 T& a4 = array[4]; in tests()
35 CHECK(a4 == T{4}); in tests()
39 test_bounded_array<T, 5> const array = {T{0}, T{1}, T{2}, T{3}, T{4}}; in tests()
40 T const& a0 = array[0]; in tests()
42 CHECK(a0 == T{0}); in tests()
43 T const& a1 = array[1]; in tests()
44 CHECK(a1 == T{1}); in tests()
45 T const& a2 = array[2]; in tests()
46 CHECK(a2 == T{2}); in tests()
47 T const& a3 = array[3]; in tests()
48 CHECK(a3 == T{3}); in tests()
49 T const& a4 = array[4]; in tests()
50 CHECK(a4 == T{4}); in tests()
55 tests<T>();