[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang-tools-extra / pseudo / test / cxx / contextual-keywords.cpp
blobae74353c0a15630ee6e819c40783a4ad81cf1d0f
1 // RUN: clang-pseudo -grammar=cxx -source=%s --print-forest | FileCheck %s
2 // Verify that the contextual-{final,override} rules are guarded conditionally,
3 // No ambiguous parsing for the virt-specifier.
4 class Foo {
5 void foo1() override;
6 // CHECK: virt-specifier-seq~IDENTIFIER := tok[7]
7 void foo2() final;
8 // CHECK: virt-specifier-seq~IDENTIFIER := tok[13]
9 };