mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
bug464969_d_demangle.cpp: Always print "Xa"
bug464969_d_demangle depends on producing an error about an uninitialized variable. But it prints something different to stdout based on the value of that variable. Which can produce failures. Make sure to always print the same thing to stdout.
This commit is contained in:
parent
4978c9f657
commit
42d35e6d2a
@ -4,9 +4,9 @@ extern "C" void _D4test4findFiPxaZPxa()
|
||||
{
|
||||
int a;
|
||||
if (a)
|
||||
std::cout << "a\n";
|
||||
std::cout << "Xa\n";
|
||||
else
|
||||
std::cout << "!a\n";
|
||||
std::cout << "X" << "a\n";
|
||||
}
|
||||
|
||||
int main()
|
||||
|
||||
@ -1 +1 @@
|
||||
!a
|
||||
Xa
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user