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:
Mark Wielaard 2023-01-30 10:21:01 +01:00
parent 4978c9f657
commit 42d35e6d2a
2 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -1 +1 @@
!a
Xa