summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCpp/Tests/parser/inheritance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibCpp/Tests/parser/inheritance.cpp')
-rw-r--r--Userland/Libraries/LibCpp/Tests/parser/inheritance.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCpp/Tests/parser/inheritance.cpp b/Userland/Libraries/LibCpp/Tests/parser/inheritance.cpp
new file mode 100644
index 0000000000..84d3fd0c52
--- /dev/null
+++ b/Userland/Libraries/LibCpp/Tests/parser/inheritance.cpp
@@ -0,0 +1,4 @@
+class A : public SomeNamespace::B, private C
+{
+ int x;
+};