Mercurial > hg > CbC > CbC_llvm
annotate clang/test/Modules/anon-redecl.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 |
rev | line source |
---|---|
150 | 1 // RUN: rm -rf %t |
2 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fmodules-local-submodule-visibility \ | |
3 // RUN: -fmodule-map-file=%S/Inputs/anon-redecl/module.modulemap \ | |
4 // RUN: -I%S/Inputs/anon-redecl \ | |
5 // RUN: -verify -std=c++11 %s | |
6 | |
7 #include "a.h" | |
8 #include "b.h" | |
9 #include "c1.h" | |
10 #include "c2.h" | |
11 | |
12 // expected-no-diagnostics | |
13 int x = a({}); | |
14 int y = b({}); | |
15 int z = c({}); |