From: Douglas Gregor Date: Tue, 9 Feb 2010 01:02:53 +0000 (+0000) Subject: Fix PR number in test case X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e180ed2f014d49587bc49f09313cabf38080d6fa;p=clang Fix PR number in test case git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95640 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/decl-init-ref.cpp b/test/SemaCXX/decl-init-ref.cpp index e1c7711530..2f7d8a4c77 100644 --- a/test/SemaCXX/decl-init-ref.cpp +++ b/test/SemaCXX/decl-init-ref.cpp @@ -25,5 +25,5 @@ int main() { 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'}}