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
{{ message }}
Repository navigation
Commit f202555
Browse filesBrowse the repository at this point in the historyBrowse files
"Test_name.c", line 16: error: too few arguments in function call
3
+
__builtin_add_overflow(); // expected-error {{too few arguments to function call, expected 3, have 0}}
4
+
^
5
+
6
+
"Test_name.c", line 17: error: too many arguments in function call
7
+
__builtin_add_overflow(1, 1, 1, 1); // expected-error {{too many arguments to function call, expected 3, have 4}}
8
+
^
9
+
10
+
"Test_name.c", line 19: error: type "const char *" is invalid as an argument for this builtin
11
+
__builtin_add_overflow(c, 1, &r); // expected-error {{operand argument to overflow builtin must be an integer type ('const char *' invalid)}}
12
+
^
13
+
2
14
"Test_name.c", line 19: warning: variable "c" is used before its value is set
3
15
__builtin_add_overflow(c, 1, &r); // expected-error {{operand argument to overflow builtin must be an integer type ('const char *' invalid)}}
4
16
^
5
17
18
+
"Test_name.c", line 20: error: type "const char *" is invalid as an argument for this builtin
19
+
__builtin_add_overflow(1, c, &r); // expected-error {{operand argument to overflow builtin must be an integer type ('const char *' invalid)}}
20
+
^
21
+
22
+
"Test_name.c", line 21: error: type "int" is invalid as an argument for this builtin
23
+
__builtin_add_overflow(1, 1, 3); // expected-error {{result argument to overflow builtin must be a pointer to a non-const integer type ('int' invalid)}}
24
+
^
25
+
26
+
"Test_name.c", line 22: error: type "float *" is invalid as an argument for this builtin
27
+
__builtin_add_overflow(1, 1, &f); // expected-error {{result argument to overflow builtin must be a pointer to a non-const integer type ('float *' invalid)}}
28
+
^
29
+
30
+
"Test_name.c", line 23: error: type "const unsigned int *" is invalid as an argument for this builtin
31
+
__builtin_add_overflow(1, 1, &q); // expected-error {{result argument to overflow builtin must be a pointer to a non-const integer type ('const unsigned int *' invalid)}}
32
+
^
33
+
34
+
7 errors detected in the compilation of "Test_name.c".
0 commit comments