]> granicus.if.org Git - clang/commitdiff
Fix PR number in test case
authorDouglas Gregor <dgregor@apple.com>
Tue, 9 Feb 2010 01:02:53 +0000 (01:02 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 9 Feb 2010 01:02:53 +0000 (01:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95640 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/decl-init-ref.cpp

index e1c771153097b55503759429f8ed765d20b0c62c..2f7d8a4c77efda9b6481e9fe24ef1be5c8345b84 100644 (file)
@@ -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'}}