Allow compilers that can't distinguish between a class instantiation and

the declaration of a function to compile this.

llvm-svn: 19073
This commit is contained in:
Reid Spencer 2004-12-20 19:16:12 +00:00
parent b9376dde14
commit 6676fe75c3

View File

@ -175,7 +175,8 @@ bool BugDriver::run() {
// Make sure the reference output file gets deleted on exit from this
// function, if appropriate.
FileRemover RemoverInstance(sys::Path(ReferenceOutputFile), CreatedOutput);
sys::Path ROF(ReferenceOutputFile);
FileRemover RemoverInstance(ROF, CreatedOutput);
// Diff the output of the raw program against the reference output. If it
// matches, then we have a miscompilation bug.