From 222e2a7620e6520ffaf4fc4e69d79c18da31542e Mon Sep 17 00:00:00 2001 From: "Zancanaro; Carlo" Date: Mon, 24 Sep 2012 09:58:17 +1000 Subject: Add the clang library to the repo (with some of my changes, too). --- clang/test/Modules/Inputs/module_private_right.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 clang/test/Modules/Inputs/module_private_right.h (limited to 'clang/test/Modules/Inputs/module_private_right.h') diff --git a/clang/test/Modules/Inputs/module_private_right.h b/clang/test/Modules/Inputs/module_private_right.h new file mode 100644 index 0000000..53efe25 --- /dev/null +++ b/clang/test/Modules/Inputs/module_private_right.h @@ -0,0 +1,13 @@ +__module_private__ double &f0(double); +__module_private__ double &f0(double); + +__module_private__ int hidden_var; + +inline void test_f0_in_right() { + double &dr = f0(hidden_var); +} + +struct VisibleStruct { + __module_private__ int field; + __module_private__ virtual void setField(int f); +}; -- cgit v1.2.3