| // THIS IS A GENERATED TEST. DO NOT EDIT. |
| // To regenerate, see clang-doc/gen_test.py docstring. |
| // |
| // This test requires Linux due to system-dependent USR for the inner class. |
| // REQUIRES: system-linux |
| // RUN: rm -rf %t |
| // RUN: mkdir %t |
| // RUN: echo "" > %t/compile_flags.txt |
| // RUN: cp "%s" "%t/test.cpp" |
| |
| void H() { |
| class I {}; |
| } |
| |
| union A { int X; int Y; }; |
| |
| enum B { X, Y }; |
| |
| enum class Bc { A, B }; |
| |
| struct C { int i; }; |
| |
| class D {}; |
| |
| class E { |
| public: |
| E() {} |
| ~E() {} |
| |
| protected: |
| void ProtectedMethod(); |
| }; |
| |
| void E::ProtectedMethod() {} |
| |
| class F : virtual private D, public E {}; |
| |
| class X { |
| class Y {}; |
| }; |