1 #if !defined(VERBOSE_TRAP_TEST_CATEGORY) || !defined(VERBOSE_TRAP_TEST_MESSAGE) 2 #error Please define required macros 3 #endif 4 5 struct Dummy { 6 void func() { __builtin_verbose_trap(VERBOSE_TRAP_TEST_CATEGORY, VERBOSE_TRAP_TEST_MESSAGE); } 7 }; 8 9 int main() { 10 Dummy{}.func(); 11 return 0; 12 } 13