blob: be28a19716872c20535f5a82b296d6af5a0edd14 [file] [log] [blame]
// Test that the A* pointer_type is also within the debug info for f.
// Currently GCC emits it immediately before A, which is simple to test for.
// { dg-options "-g -dA" }
void f()
{
struct A { int i; } *ap;
ap->i = 42;
}
// { dg-final { scan-assembler "DW_TAG_pointer_type.\[^)\]*. DW_TAG_structure_type" } }