Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
rtti
/
pr83534.C
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
();
}