aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/crash2.C
blob: 9e96af1e3c3dcf5a838ad17331445713e93aadcc (plain)
1
2
3
4
5
6
7
8
9
10
// Bug: g++ crashes on this (admittedly invalid) input.
// Special g++ Options:
// Build don't link:

class PhysicalPageId {
  const maximum_block_numbers = 2;
  long block_number[maximum_block_numbers];
};

const PhysicalPageId shadows_physical_page_id_null = { 2, { 0, 0 } }; // ERROR - constructor initializes non-field m_b_n