[cfe-commits] r131127 - /cfe/trunk/test/SemaCXX/PR9884.cpp
Rafael Espindola
rafael.espindola at gmail.com
Tue May 10 07:19:13 PDT 2011
Author: rafael
Date: Tue May 10 09:19:13 2011
New Revision: 131127
URL: http://llvm.org/viewvc/llvm-project?rev=131127&view=rev
Log:
Add test for PR9884.
Added:
cfe/trunk/test/SemaCXX/PR9884.cpp
Added: cfe/trunk/test/SemaCXX/PR9884.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/PR9884.cpp?rev=131127&view=auto
==============================================================================
--- cfe/trunk/test/SemaCXX/PR9884.cpp (added)
+++ cfe/trunk/test/SemaCXX/PR9884.cpp Tue May 10 09:19:13 2011
@@ -0,0 +1,17 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+class Base {
+protected:
+ Base(int val);
+};
+
+
+class Derived : public Base {
+public:
+ Derived(int val);
+};
+
+
+Derived::Derived(int val)
+ : Base( val )
+{
+}
More information about the cfe-commits
mailing list