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.
23 lines
680 B
23 lines
680 B
// RUN: rm -rf %t
|
|
// RUN: %clang_cc1 -std=c++11 -nostdsysteminc -I%S/Inputs/PR28752 -verify %s
|
|
// RUN: %clang_cc1 -std=c++11 -nostdsysteminc -fmodules -fmodule-map-file=%S/Inputs/PR28752/Subdir1/module.modulemap -fmodule-map-file=%S/Inputs/PR28752/module.modulemap -fmodules-cache-path=%t -I%S/Inputs/PR28752 -I%S/Inputs/PR28752/Subdir1 -verify %s -fmodules-local-submodule-visibility
|
|
|
|
#include "a.h"
|
|
#include "Subdir1/c.h"
|
|
#include <vector>
|
|
|
|
class TClingClassInfo {
|
|
std::vector<int> fIterStack;
|
|
};
|
|
|
|
TClingClassInfo *a;
|
|
class TClingBaseClassInfo {
|
|
TClingBaseClassInfo() { new TClingClassInfo(*a); }
|
|
};
|
|
|
|
namespace { struct Q; }
|
|
bool *p = &A<Q>::b;
|
|
|
|
// expected-no-diagnostics
|
|
|