Index: Tools/Castle.DynamicProxy2/Castle.DynamicProxy.Tests/InheritedInterfacesTestCase.cs
===================================================================
--- Tools/Castle.DynamicProxy2/Castle.DynamicProxy.Tests/InheritedInterfacesTestCase.cs	(revision 5756)
+++ Tools/Castle.DynamicProxy2/Castle.DynamicProxy.Tests/InheritedInterfacesTestCase.cs	(working copy)
@@ -12,6 +12,8 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+using System;
+
 namespace Castle.DynamicProxy.Tests
 {
 	using Core.Interceptor;
@@ -32,6 +34,18 @@
 			proxiedFoo.FooExtended();
 		}
 
+		[Test]
+		public void CreateInterfaceProxyWithTargetInterfaceParentClass()
+		{
+			ProxyGenerator generator = new ProxyGenerator();
+			IFoo proxiedFoo = (IFoo)generator.CreateInterfaceProxyWithTargetInterface(
+				typeof(IFoo),new Type[]{typeof(IFooExtended)}, new FooClass(),
+				ProxyGenerationOptions.Default,
+				new StandardInterceptor());
+			proxiedFoo.Foo();
+		}
+
+
 		public interface IFoo
 		{
 			void Foo();
@@ -41,7 +55,13 @@
 		{
 			void FooExtended();
 		}
-
+		public class FooClass:IFoo
+		{
+			public void Foo()
+			{
+				
+			}
+		}
 		public class ImplementedFoo : IFooExtended
 		{
 			public void FooExtended()
