Fix PR number in test case

llvm-svn: 95640
This commit is contained in:
Douglas Gregor 2010-02-09 01:02:53 +00:00
parent 12f1a3ec0c
commit 1f53e803cd
1 changed files with 2 additions and 2 deletions

View 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'}} 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]; }; struct PR6139 { 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'}} PR6139 x = {{A()}}; // expected-error{{non-const lvalue reference to type 'struct A [1]' cannot bind to a temporary of type 'struct A'}}