[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git] / clang / test / Modules / inherit-attribute.cpp
blob980b30ef497501e28404e5ca95067d0bffa995b8
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules -triple x86_64-pc-windows-msvc -I%S/Inputs/inherit-attribute -fmodules-cache-path=%t \
3 // RUN: -fimplicit-module-maps -fmodules-local-submodule-visibility %s -ast-dump-all \
4 // RUN: | FileCheck %s
6 #include "b.h"
7 #include "c.h"
9 class Foo;
11 Foo f;
13 // CHECK: CXXRecordDecl {{.*}} imported in b {{.*}} Foo
14 // CHECK: MSInheritanceAttr {{[^()]*$}}
16 // CHECK: CXXRecordDecl {{.*}} prev {{.*}} imported in c {{.*}} Foo
17 // CHECK: MSInheritanceAttr {{.*}} Inherited {{[^()]*$}}
19 // CHECK: CXXRecordDecl {{.*}} <line:9:1, col:7> col:7 referenced class Foo
20 // CHECK: MSInheritanceAttr {{.*}} Inherited {{[^()]*$}}