Add a unit test for the copy constructor.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 9 Jan 2014 19:47:39 +0000 (19:47 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 9 Jan 2014 19:47:39 +0000 (19:47 +0000)
commitcd56deb6bf6ce6fa192b3ef255fa2cc1e538ed7e
treeff6c742998641a959463c30ace4e4f1b2380e4b7
parent96af9886eff421ddc653fd19baf47493551c1d28
Add a unit test for the copy constructor.

I would not normally add tests like these, but the copy constructor is not
used at all in our codebase with c++11, so having this tests might prevent
breaking the c++03 build again.

llvm-svn: 198886
llvm/unittests/Support/ErrorOrTest.cpp