Mercurial > hg > CbC > CbC_llvm
view clang/test/Modules/pr28752.cpp @ 266:00f31e85ec16 default tip
Added tag current for changeset 31d058e83c98
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Oct 2023 10:13:55 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// 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