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
simulate-thread tests: Silence gdb debuginfod warning
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept87.C
blob
bb7bb605532437425cae7c0298228d9fb1b05f13
1
// PR c++/115223
2
// { dg-do compile { target c++11 } }
3
// { dg-require-effective-target lto }
4
// { dg-additional-options -flto }
5
6
template<class T>
7
void f() noexcept(bool(T() || true));
8
9
void g() { f<int>(); }
10
11
using type = void;
12
type callDestructorIfNecessary() noexcept {}