Remove the expected error. We don't expect error there. The declared function has an address, which could be evaluated.

This commit is contained in:
Vassil Vassilev 2013-08-02 17:38:14 +02:00 committed by sftnight
parent 66514e8d09
commit 96dbd7d963

View File

@ -35,5 +35,5 @@ int one; // expected-error {{redefinition of 'one' with a different type: 'int'
// Make sure that PR#98434 doesn't get reintroduced.
void f(int);
gCling->evaluate("f // expected-error {{cannot initialize return object of type 'void (int)' with an lvalue of type 'void (int)'}}", V);
gCling->evaluate("f", V);
// end PR#98434