blob: ed016f3daca49eb13f97d3c35f68b36e0c60f901 [file] [log] [blame]
// { dg-do run { target *-*-linux* } }
// { dg-options "-pie -fpie" }
// { dg-output "Hello, pie World" }
// This test used to give an "FDE encoding" error from the linker due to
// the ABI not having appropriate relocations for PIE.
#include <iostream>
int
main ()
{
std::cout << "Hello, pie World" << std::endl;
}