PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / array24.C
blob07879d250c0519f267911e028670f685b752c203
1 // PR c++/55032
3 template<typename T>
4 struct vec3t {
5   T c[3];
6 };
8 typedef vec3t<float> vec3;
10 class Bounds {
11   public:
12     Bounds(const vec3 bb[2]);
13     void foo(const vec3 & v) { v.c[0]; }
16 template<typename T>
17 void work(T& value);
19 void foo() {
20   vec3 bb[2];
21   work(bb);