You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./a.c:40:7: error: expression is not assignable
a = 1;
^
1 error generated.
Clang output:
a.c:40:7: error: cannot assign to variable 'a' with const-qualified type 'const int'
a = 1;
~ ^
a.c:39:15: note: variable 'a' declared const here
const int a;
~~~~~~~~~~^
1 error generated.
The text was updated successfully, but these errors were encountered:
Arocc output:
Clang output:
The text was updated successfully, but these errors were encountered: