Change the golden output so that merely evaluating an existing persistent variable

does not result in a newly created persistent variable.  The old one is returned,
instead.

llvm-svn: 121775
This commit is contained in:
Johnny Chen 2010-12-14 17:48:26 +00:00
parent e7ee72087e
commit 6b4896fddb
1 changed files with 6 additions and 2 deletions

View File

@ -34,8 +34,12 @@ class PersistentVariablesTestCase(TestBase):
# (int) $2 = 14
self.expect("expression $2",
startstr = "(int) $3 = 14")
# (int) $3 = 14
startstr = "(int) $2 = 14")
# (int) $2 = 14
self.expect("expression $1",
startstr = "(int) $1 = 8")
# (int) $1 = 8
if __name__ == '__main__':