• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1float noElements[2]            = float[2]();
2float notEnoughElements[2]     = float[2](1);
3float rightNumberOfElements[2] = float[2](1, 2);
4float tooManyElements[2]       = float[2](1, 2, 3);
5
6/*%%*
7invalid arguments to 'float[2]' constructor (expected 2 elements, but found 0)
8invalid arguments to 'float[2]' constructor (expected 2 elements, but found 1)
9invalid arguments to 'float[2]' constructor (expected 2 elements, but found 3)
10*%%*/
11