1 // RUN: %clang_cc1 %s -ast-dump -fdouble-square-bracket-attributes | FileCheck %s
3 // Verify that we print the [[clang::annotate_type]] attribute.
4 // FIXME: The arguments are currently not printed -- see also comments in
7 // Need to escape the `[[` as a regex to avoid it being interpreted as a
9 // CHECK: VarDecl {{.*}} x1 'int {{\[\[}}clang::annotate_type(...){{]]}}':'int'
10 int [[clang::annotate_type("bar")]] x1
;
11 // CHECK: VarDecl {{.*}} x2 'int * {{\[\[}}clang::annotate_type(...){{]]}}':'int *'
12 int *[[clang::annotate_type("bar")]] x2
;