[cfe-dev] alternate testing
reed kotler
rkotler at mips.com
Fri Jan 11 18:46:50 PST 2013
In some clang tests, they seem to use something other than filecheck
for example in Sema/address_spaces.c
// RUN: %clang_cc1 %s -fsyntax-only -verify
#define _AS1 __attribute__((address_space(1)))
#define _AS2 __attribute__((address_space(2)))
#define _AS3 __attribute__((address_space(3)))
void bar(_AS2 int a); // expected-error {{parameter may not be qualified
with an address space}}
void foo(_AS3 float *a,
_AS1 float b) // expected-error {{parameter may not be
qualified with an address space}}
Where is this documented?
Tia.
Reed
More information about the cfe-dev
mailing list