diff options
author | Nathan Sidwell <nathan@acm.org> | 2015-01-28 21:31:26 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2015-01-28 21:31:26 +0000 |
commit | ffa7dc379f2e5df7a19e4ee01dea11c9d329d2bb (patch) | |
tree | 02cf3e58f840e08126cd777885fe51888687f058 /clang/test/CXX/temp/temp.param/p15-cxx0x.cpp | |
parent | 949389c395edffc54f3551cbb595065a6f4e6a78 (diff) | |
download | bcm5719-llvm-ffa7dc379f2e5df7a19e4ee01dea11c9d329d2bb.tar.gz bcm5719-llvm-ffa7dc379f2e5df7a19e4ee01dea11c9d329d2bb.zip |
PR 17456
More helpful diagnostic on casts between unrelated class hierarchies.
llvm-svn: 227371
Diffstat (limited to 'clang/test/CXX/temp/temp.param/p15-cxx0x.cpp')
-rw-r--r-- | clang/test/CXX/temp/temp.param/p15-cxx0x.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CXX/temp/temp.param/p15-cxx0x.cpp b/clang/test/CXX/temp/temp.param/p15-cxx0x.cpp index 59618d26368..ade192b3efa 100644 --- a/clang/test/CXX/temp/temp.param/p15-cxx0x.cpp +++ b/clang/test/CXX/temp/temp.param/p15-cxx0x.cpp @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s -template<typename T> struct X; +template<typename T> struct X; // expected-note {{'X' is incomplete}} template<int I> struct Y; X<X<int>> *x1; |