1 // PR c++/83322 - ICE: tree check: expected class ‘type’, have ‘exceptional’
2 // (baselink) in diag_attr_exclusions, at attribs.c:393
4 // { dg-options "-Wattributes" }
6 #define ATTR(list) __attribute__ (list)
8 // Test case from comment #0.
11 template <class T> operator T();
12 ATTR ((always_inline)) operator int();
15 // Test case from comment #4.
28 ATTR ((warn_unused_result)) int foo ();