| 1 |
typedef char uint8_t; |
| 2 |
template <class T> class A { |
| 3 |
public: |
| 4 |
A(T *); |
| 5 |
}; |
| 6 |
|
| 7 |
enum TextDirection : uint8_t; |
| 8 |
enum WritingMode : unsigned; |
| 9 |
class B { |
| 10 |
public: |
| 11 |
WritingMode m_fn1(); |
| 12 |
}; |
| 13 |
class C { |
| 14 |
public: |
| 15 |
int &m_fn2(); |
| 16 |
}; |
| 17 |
|
| 18 |
class F { |
| 19 |
public: |
| 20 |
F(C, A<const int>, B *, WritingMode, TextDirection); |
| 21 |
}; |
| 22 |
class D { double d;}; |
| 23 |
class H : public D {}; |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
template <class T> A<T>::A(T*) {} |
| 28 |
|
| 29 |
template class A<H>; |
| 30 |
template class A<int const>; |
| 31 |
|
| 32 |
WritingMode __attribute__((noipa)) |
| 33 |
B::m_fn1() |
| 34 |
{ |
| 35 |
return (WritingMode) 0; |
| 36 |
} |
| 37 |
|
| 38 |
int gi; |
| 39 |
int & __attribute__((noipa)) |
| 40 |
C::m_fn2 () |
| 41 |
{ |
| 42 |
return gi; |
| 43 |
} |
| 44 |
|
| 45 |
__attribute__((noipa)) F::F(C, A<const int>, B *, WritingMode, TextDirection) {} |