[cfe-commits] r95640 - /cfe/trunk/test/SemaCXX/decl-init-ref.cpp
Douglas Gregor
dgregor at apple.com
Mon Feb 8 17:02:54 PST 2010
Author: dgregor
Date: Mon Feb 8 19:02:53 2010
New Revision: 95640
URL: http://llvm.org/viewvc/llvm-project?rev=95640&view=rev
Log:
Fix PR number in test case
Modified:
cfe/trunk/test/SemaCXX/decl-init-ref.cpp
Modified: cfe/trunk/test/SemaCXX/decl-init-ref.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/decl-init-ref.cpp?rev=95640&r1=95639&r2=95640&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/decl-init-ref.cpp (original)
+++ cfe/trunk/test/SemaCXX/decl-init-ref.cpp Mon Feb 8 19:02:53 2010
@@ -25,5 +25,5 @@
A& ra = f(); // expected-error {{non-const lvalue reference to type 'struct A' cannot bind to a temporary of type 'class B'}}
}
-struct PR6177 { A (&x)[1]; };
-PR6177 x = {{A()}}; // expected-error{{non-const lvalue reference to type 'struct A [1]' cannot bind to a temporary of type 'struct A'}}
+struct PR6139 { A (&x)[1]; };
+PR6139 x = {{A()}}; // expected-error{{non-const lvalue reference to type 'struct A [1]' cannot bind to a temporary of type 'struct A'}}
More information about the cfe-commits
mailing list