Clang Project

clang_source_code/test/AST/ast-print-attr.c
1// RUN: %clang_cc1 -ast-print -x objective-c++ -fms-extensions %s -o - | FileCheck %s
2
3// CHECK: using A = __kindof id (*)[1];
4using A = __kindof id (*)[1];
5
6// CHECK: using B = int ** __ptr32 *[3];
7using B = int ** __ptr32 *[3];
8
9// FIXME: This is the wrong spelling for the attribute.
10// FIXME: Too many parens here!
11// CHECK: using C = int ((*))() __attribute__((cdecl));
12using C = int (*)() [[gnu::cdecl]];
13