* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-invisiref1.C
blobe0ede738a4025a06a8aee3da33d1af207f545e5e
1 // PR c++/55879
2 // { dg-do compile { target c++11 } }
4 class CAddress
6 public:
7   constexpr CAddress(unsigned long begin) : m_Begin(begin) {}
8   constexpr CAddress(const CAddress &other) : m_Begin(other.m_Begin) {}
10 private:
11   unsigned long m_Begin;
14 extern "C" char _lnkDDRRAM;
15 /* internal compiler error on gcc 4.6.3 */
16 const CAddress s_Memmap[2]
18   {(unsigned long)&_lnkDDRRAM}, /* segmentation fault */
19   {0x40000000},
22 class CNested {
23 public:
24   constexpr CNested(const CAddress primary)
25     : m_PrimaryBlock(primary) {}
27 private:
28   CAddress m_PrimaryBlock;
31 /* internal compiler error on gcc 4.7.2 */
32 const CNested s_taskDescriptions[2]
34   {{0x42000000}},
35   {{0x43000000}},