* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr77907.C
blob8128e8cde622433ea19b294daf6d45e28cc6a5be
1 // PR c++/77907
2 // { dg-do run { target c++11 } }
3 // { dg-options "-O2 -save-temps" }
4 // { dg-final { scan-assembler-not "static_initialization" } }
6 struct A {
7   int foo () { return 1; }
8 };
10 struct B {
11   using C = int (A::*) ();
12   constexpr explicit B (const C x) : b{x} {}
13   C b;
16 B b{&A::foo};
18 int
19 main ()
21   if (!b.b)
22     __builtin_abort ();