xref: /llvm-project/clang-tools-extra/test/clang-query/function-decl.c (revision b549019c3c3a0cd417fcc9dc4ec17340de4c6046)
1 // RUN: clang-query -c "match functionDecl()" %s -- | FileCheck %s
2 
3 // CHECK: function-decl.c:4:1: note: "root" binds here
foo(void)4 void foo(void) {}
5