summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/module_private_right.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-11-16 05:16:30 +0000
committerDouglas Gregor <dgregor@apple.com>2011-11-16 05:16:30 +0000
commit84febf4a4d0b014dbe67631d85f6766a8d5e4782 (patch)
treeb4b4d0be66745301054e295ec373b670afbba5f7 /clang/test/Modules/Inputs/module_private_right.h
parent0e9843b3280b3213419aa66e90eaef13c3ab2223 (diff)
downloadbcm5719-llvm-84febf4a4d0b014dbe67631d85f6766a8d5e4782.tar.gz
bcm5719-llvm-84febf4a4d0b014dbe67631d85f6766a8d5e4782.zip
Migrate a few more modules tests over to -emit-module-from-map.
llvm-svn: 144779
Diffstat (limited to 'clang/test/Modules/Inputs/module_private_right.h')
-rw-r--r--clang/test/Modules/Inputs/module_private_right.h13
1 files changed, 13 insertions, 0 deletions
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 00000000000..e7c1bb82216
--- /dev/null
+++ b/clang/test/Modules/Inputs/module_private_right.h
@@ -0,0 +1,13 @@
+__module_private__ double &f0(double);
+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);
+};
OpenPOWER on IntegriCloud