summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny.ornl@gmail.com>2018-05-16 15:18:30 +0000
committerJoel E. Denny <jdenny.ornl@gmail.com>2018-05-16 15:18:30 +0000
commitefdb9be29fd24e86a7a6f6610b760aec88512f1e (patch)
treee88d8ee83b126de60638e93282ec62fb141d9094 /clang/test
parent35a1ba87b990e6c4541e3aff85b9837bc8b57e66 (diff)
downloadbcm5719-llvm-efdb9be29fd24e86a7a6f6610b760aec88512f1e.tar.gz
bcm5719-llvm-efdb9be29fd24e86a7a6f6610b760aec88512f1e.zip
[Attr] Don't print fake MSInheritance argument
This was discovered at: http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20180514/228390.html Reviewed by: aaron.ballman Differential Revision: https://reviews.llvm.org/D46905 llvm-svn: 332481
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/SemaCXX/attr-print.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/attr-print.cpp b/clang/test/SemaCXX/attr-print.cpp
index f40d803e94c..960050bc710 100644
--- a/clang/test/SemaCXX/attr-print.cpp
+++ b/clang/test/SemaCXX/attr-print.cpp
@@ -34,3 +34,12 @@ class __attribute__((consumable(unknown))) AttrTester1 {
// CHECK: void callableWhen() __attribute__((callable_when("unconsumed", "consumed")));
void callableWhen() __attribute__((callable_when("unconsumed", "consumed")));
};
+
+// CHECK: class __single_inheritance SingleInheritance;
+class __single_inheritance SingleInheritance;
+
+// CHECK: class __multiple_inheritance MultipleInheritance;
+class __multiple_inheritance MultipleInheritance;
+
+// CHECK: class __virtual_inheritance VirtualInheritance;
+class __virtual_inheritance VirtualInheritance;
OpenPOWER on IntegriCloud