2 // { dg-options "-O2" }
4 // Copyright (C) 2001 Free Software Foundation, Inc.
5 // Contributed by Nathan Sidwell 29 May 2001 <nathan@codesourcery.com>
7 // Bug 2936. We ICE'd on tree inlining a function with an anonymous
10 inline const unsigned char *Foo (const char *string)
15 const unsigned char *p2;
26 const unsigned char *Baz (const char *string)
33 const char *string = "s";
34 const unsigned char *result;
36 result = Baz (string);
37 return (static_cast <const void *> (result)
38 != static_cast <const void *> (string));