HomeSort by relevance Sort by last modified time
    Searched refs:emp_1 (Results 1 - 2 of 2) sorted by null

  /external/clang/test/Sema/
empty1.c 5 struct emp_1 { // expected-warning {{empty struct has size 0 in C, size 1 in C++}} struct
30 struct emp_1 f1;
34 struct emp_1 f1;
38 struct emp_1 f1;
43 struct emp_1 *func_1p(struct emp_1 *x) { return x - 5; }
46 struct emp_1 v[1];
47 return v - v; // expected-warning {{subtraction of pointers to type 'struct emp_1' of zero size has undefined behavior}}
50 int func_2(struct emp_1 *x) {
51 return 1 + x - x; // expected-warning {{subtraction of pointers to type 'struct emp_1' of zero size has undefined behavior}
    [all...]
empty2.c 3 struct emp_1 { // expected-warning {{empty struct is a GNU extension}} struct

Completed in 46 milliseconds