You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
664 B
21 lines
664 B
// RUN: rm -rf %t
|
|
// RUN: %clang_cc1 -fmodules -triple x86_64-pc-windows-msvc -I%S/Inputs/inherit-attribute -fmodules-cache-path=%t \
|
|
// RUN: -fimplicit-module-maps -fmodules-local-submodule-visibility %s -ast-dump-all \
|
|
// RUN: | FileCheck %s
|
|
|
|
#include "b.h"
|
|
#include "c.h"
|
|
|
|
class Foo;
|
|
|
|
Foo f;
|
|
|
|
// CHECK: CXXRecordDecl {{.*}} imported in b {{.*}} Foo
|
|
// CHECK: MSInheritanceAttr {{[^()]*$}}
|
|
|
|
// CHECK: CXXRecordDecl {{.*}} prev {{.*}} imported in c {{.*}} Foo
|
|
// CHECK: MSInheritanceAttr {{.*}} Inherited {{[^()]*$}}
|
|
|
|
// CHECK: CXXRecordDecl {{.*}} <line:9:1, col:7> col:7 referenced class Foo
|
|
// CHECK: MSInheritanceAttr {{.*}} Inherited {{[^()]*$}}
|