summaryrefslogtreecommitdiff
path: root/clang/test/PCH/cxx-friends.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/cxx-friends.h')
-rw-r--r--clang/test/PCH/cxx-friends.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/PCH/cxx-friends.h b/clang/test/PCH/cxx-friends.h
new file mode 100644
index 0000000..2a33f15
--- /dev/null
+++ b/clang/test/PCH/cxx-friends.h
@@ -0,0 +1,6 @@
+// Header for PCH test cxx-friends.cpp
+
+class A {
+ int x;
+ friend class F;
+};