Author
anonymous
over 8 years ago
Language
Compiler
Options
Author
anonymous
over 8 years ago
$ prog.cc: In function 'int main()':
prog.cc:5:28: error: non-constant condition for static assertion
static_assert( a[0][2] == a[1][0]);
~~~~~~~~^~~~~~~~~~~
prog.cc:5:28: error: array subscript value '2' is outside the bounds of array type 'const int [2]'
Exit Code:
1