Searched refs:unused (Results 1 - 25 of 3624) sorted by relevance

1234567891011>>

/haiku-buildtools/binutils/gold/testsuite/
H A Dpr20717.c1 void unused(void);
2 void unused(void) {} function
H A Dstart_lib_test_main.c28 main (int argc __attribute__ ((unused)), argument
29 char** argv __attribute__ ((unused)))
H A Dexclude_libs_test.c6 main (int argc __attribute__ ((unused)), argument
7 char** argv __attribute__ ((unused)))
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/cpp/
H A Dpr65238-2.c6 #if __has_attribute(unused
8 #if __has_attribute(unused, unused)
10 #if __has_attribute(__has_attribute(unused))
16 /* { dg-error "missing binary operator before token .unused." "" {target "*-*-*"} 8 } */
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/cpp/trad/
H A Dpr65238-4.c7 #if __has_attribute(unused
9 #if __has_attribute(unused, unused)
11 #if __has_attribute(__has_attribute(unused))
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/overload/
H A Drvalue1.C3 void unused(const bool &) { } function
7 unused(!!x); // type of "!x" is bool
8 unused(!x); // type of "!x" is bool
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/abi/
H A Dmangle21.C8 do { static int xyz __attribute__((unused)) = 1; } while (0);
9 do { static int xyz __attribute__((unused)) = 2; } while (0);
10 do { static int xyz __attribute__((unused)) = 3; } while (0);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dgen-attrs-2-1.C3 struct [[gnu::unused]] A {};
H A Dgen-attrs-24.C4 enum [[gnu::unused]] E; // { dg-error "without previous declaration" }
H A Dvariadic65.C2 struct unused;
3 template<typename T1 = unused, typename T2 = unused, typename T3 = unused,
4 typename T4 = unused, typename T5 = unused, typename T6 = unused>
H A Dgen-attrs-22.C6 static_cast<float *[[gnu::unused]]>(0); // { dg-warning "ignored" }
H A Dgen-attrs-53.C6 [[gnu::unused]] good:
13 [[gnu::unused]] good:
19 good_ignored : [[gnu::unused]] // { dg-warning "attributes at the beginning of statement are ignored" }
27 good: __attribute__((unused));
36 bad: [[gnu::unused]]; // { dg-warning "attributes at the beginning of statement are ignored" }
H A Dgen-attrs-4.C8 [[gnu::unused]]
11 int one_third [[noreturn]] [[gnu::unused]] (void);
13 int [[gnu::unused]] one_half(); // { dg-warning "ignored" }
17 void two [[gnu::unused]] (void) {}
21 [[gnu::unused]]
H A Dgen-attrs-9.C7 enum [[gnu::unused]] e; // { dg-warning "already defined" }
9 struct [[gnu::unused]] B *p; // { dg-warning "attributes" }
12 struct [[gnu::unused]] A<int>; // { dg-warning "attributes" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/
H A Dattrib24.C4 enum __attribute__((unused)) E; // { dg-error "without previous declaration" }
H A Dattrib22.C5 static_cast<float *__attribute((unused))>(0); // { dg-error "expected" }
H A Dattrib9.C1 class __attribute__((unused)) C;
2 struct __attribute__((unused)) S;
3 union __attribute__((unused)) U;
5 enum __attribute__((unused)) e; // { dg-warning "already defined" }
7 struct __attribute((unused)) B *p; // { dg-warning "attributes" }
10 struct __attribute((unused)) A<int>; // { dg-warning "attributes" }
H A Dattrib4.C5 __attribute__((unused))
9 __attribute__((unused))
14 __attribute__((unused))
18 __attribute__((unused))
26 __attribute__((unused)); // OK
30 __attribute__((unused)) // parse error before '__attribute__' in C++
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dunused.C6 #pragma unused ( x )
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/ctype_base/
H A D53678.cc27 bool NetBSD __attribute__((unused)) = true;
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/
H A DWunused-var-11.c10 const int * __attribute__((unused)) a = &i;
11 const int *b __attribute__((unused)) = &i;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/template/
H A Dcrash54.C5 struct __attribute__((unused)) A<0<; // { dg-error "template argument|unqualified-id" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/warn/
H A DWunused-label-1.C11 l4: __attribute__ ((unused)) ; f9();
17 label: __attribute ((unused)) ;
24 l2: __attribute__ ((unused)) f9(); // { dg-error "expected" }
25 // We still get an unused label warning--this is
/haiku-buildtools/gcc/libstdc++-v3/testsuite/18_support/exception_ptr/
H A Drequirements_neg.cc29 int __attribute__((unused)) i = p; // { dg-error "cannot convert" }
30 bool __attribute__((unused)) b = p; // { dg-error "cannot convert" }
31 void* __attribute__((unused)) v = p; // { dg-error "cannot convert" }
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A DWunused-label-1.c10 l2: __attribute__ ((unused)) f2 ();
12 l4: __attribute__ ((unused)) ; f2 ();

Completed in 215 milliseconds

1234567891011>>