2 // { dg-do link { target { ! { *-*-darwin* *-*-hpux* *-*-solaris2.* } } } }
3 // { dg-options "-gdwarf-2" }
4 // Ignore additional message on powerpc-ibm-aix
5 // { dg-prune-output "obtain more information" } */
6 // Ignore additional messages on Linux/x86 with PIE
7 // { dg-prune-output "\[Bb\]ad value" } */
12 static const bool t = 0;
18 return c::t; // { dg-message "\[Uu\]ndefined" "undefined" { target *-*-* } 0 }
19 // Some targets report the error for the previous line, others
20 // don't give line number inforamtion for it, so use line 0.