xref: /llvm-project/clang/test/AST/ast-dump-bpf-attr.c (revision 3060304906f08f933672f0a30cc57d5f09766444)
1 // RUN: %clang_cc1 -triple bpf-pc-linux-gnu -ast-dump  %s \
2 // RUN: | FileCheck --strict-whitespace %s
3 
4 int __attribute__((btf_type_tag("rcu"))) * g;
5 // CHECK: VarDecl{{.*}}g 'int  __attribute__((btf_type_tag("rcu")))*'
6