[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang-tools-extra / pseudo / test / cxx / declator-member-function.cpp
blob58d0ff4ccae9a23e84c3c2ac104efd3717aa95cc
1 // RUN: clang-pseudo -grammar=cxx -source=%s --print-forest | FileCheck %s
3 // Similiar to declarator-function.cpp, but for member functions.
4 class Foo {
5 void foo() {};
6 // CHECK-NOT: member-declarator := declarator brace-or-equal-initializer
7 // CHECK: member-declaration~function-definition := decl-specifier-seq function-declarator function-body
8 // CHECK-NOT: member-declarator := declarator brace-or-equal-initializer
9 };