* fi.po: Update.
[official-gcc.git] / gcc / testsuite / g++.dg / pr78112-2.C
blobd9d18ffb4e1e9f5c0cd1305fe8097ec1395959f7
1 /* { dg-do compile } */
2 /* { dg-options "-g -dA -gdwarf-4 -std=gnu++11" } */
3 /* { dg-options "-g -dA -std=gnu++11 -gdwarf-4" } */
4 /* { dg-final { scan-assembler-times DW_AT_object_pointer 18 } } */
6 void run (int *int_p, void(*func)(int *)) { func (int_p); }
7 namespace foo {
8    struct Foo {
9       int a;
10       Foo() { run (&a, [](int *int_p) { *int_p = 0; }); }
11    };
13 int main (void) { foo::Foo f; }