Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
();
}