blob: af5f02ebb92bb0e57cae4223e36a0c1cfa75240f [file] [log] [blame]
// { dg-options "-std=c++17" }
// { dg-do run }
#include <typeinfo>
void f1();
void f2() noexcept;
int main() {
if((typeid(void()) == typeid(void ()noexcept))
|| (typeid(&f1) == typeid(&f2))
|| (typeid(f1) == typeid(f2)))
__builtin_abort();
}