File: test_deprecation.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 (21 lines) | stat: -rw-r--r-- 583 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2021 Insight Software Consortium.
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt

namespace deprecation {


    class  __attribute__((deprecated("Test class Deprecated"))) test
    {
    public:
      test();
      __attribute__((deprecated("One arg constructor is Deprecated"))) test(int a);

      int hello();
      void __attribute__((deprecated("Function is deprecated"))) goodbye();
    };
     enum __attribute__((deprecated("Enumeration is Deprecated"))) com_enum {
      One = 1,
      Two = 2
    };
}