Lines Matching refs:_AS1
3 #define _AS1 __attribute__((address_space(1))) macro
10 _AS1 float b) // expected-error {{parameter may not be qualified with an address space}} in foo()
13 _AS1 float * _AS2 *B; in foo()
15 int _AS1 _AS2 *Y; // expected-error {{multiple address spaces specified for type}} in foo()
16 int *_AS1 _AS2 *Z; // expected-error {{multiple address spaces specified for type}} in foo()
17 int *_AS1 _AS1 *M; // expected-warning {{multiple identical address spaces specified for type}} in foo()
19 _AS1 int local; // expected-error {{automatic variable qualified with an address space}} in foo()
20 _AS1 int array[5]; // expected-error {{automatic variable qualified with an address space}} in foo()
21 _AS1 int arrarr[5][5]; // expected-error {{automatic variable qualified with an address space}} in foo()
50 _AS1 ft qf; // expected-error {{function type may not be qualified with an address space}}
51 typedef _AS1 ft qft; // expected-error {{function type may not be qualified with an address space}}
73 char* cmp(_AS1 char *x, _AS2 char *y) { in cmp()
77 char *sub(_AS1 char *x, _AS2 char *y) { in sub()
90 …(_AS1 struct SomeStruct){1, 2, 3}; // expected-error {{compound literal in function scope may not … in as_compound_literal()
91 …(_AS1 char[]){"test"}; // expected-error {{compound literal in function scope may not be qualified… in as_compound_literal()
92 …(_AS1 char[]){'a', 'b', 'c'}; // expected-error {{compound literal in function scope may not be qu… in as_compound_literal()