File: test_order.hpp

package info (click to toggle)
pygccxml 3.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,444 kB
  • sloc: xml: 29,841; python: 13,914; cpp: 2,671; makefile: 163; ansic: 59
file content (35 lines) | stat: -rw-r--r-- 869 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright 2014-2017 Insight Software Consortium.
// Copyright 2004-2009 Roman Yakovenko.
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt

const int c1 = 0;
int const c2 = 0;

const int * const cptr1 = 0;
int const * const cptr2 = 0;

volatile int v1 = 0;
int volatile v2 = 0;

volatile int * volatile vptr1 = 0;
int volatile * volatile vptr2 = 0;

const volatile int cv1 = 0;
int const volatile cv2 = 0;
volatile const int cv3 = 0;
int volatile const cv4 = 0;

const volatile int * const volatile cvptr1 = 0;
int const volatile * const volatile cvptr2 = 0;
volatile const int * volatile const cvptr3 = 0;
int volatile const * volatile const cvptr4 = 0;

const int ac1[2] = {};
int const ac2[2] = {};

const int * const acptr1[2] = {};
int const * const acptr2[2] = {};

class A {};
const class A classA = {};