repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
testsuite: Tests the pattern folding x/sqrt(x) to sqrt(x) for Float16
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
rtti
/
pr83534.C
blob
af5f02ebb92bb0e57cae4223e36a0c1cfa75240f
1
// { dg-options "-std=c++17" }
2
// { dg-do run }
3
4
#include <typeinfo>
5
6
void f1();
7
void f2() noexcept;
8
int main() {
9
if((typeid(void()) == typeid(void ()noexcept))
10
|| (typeid(&f1) == typeid(&f2))
11
|| (typeid(f1) == typeid(f2)))
12
__builtin_abort();
13
}