projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abde687
)
Fix pr80374 testcase
author
Markus Trippelsdorf
<trippels@gcc.gnu.org>
Tue, 11 Apr 2017 06:31:58 +0000
(06:31 +0000)
committer
Markus Trippelsdorf
<trippels@gcc.gnu.org>
Tue, 11 Apr 2017 06:31:58 +0000
(06:31 +0000)
From-SVN: r246832
gcc/testsuite/g++.dg/pr80374.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/pr80374.C
b/gcc/testsuite/g++.dg/pr80374.C
index b02b65629aefaf3323c00f37bebc5e27852d6730..83f778be638a7b756c6c5e4b83843955f4ea363d 100644
(file)
--- a/
gcc/testsuite/g++.dg/pr80374.C
+++ b/
gcc/testsuite/g++.dg/pr80374.C
@@
-1,3
+1,5
@@
+// { dg-do compile }
+// { dg-options "-O1 -std=c++11" }
void a (const char *, const char *, int, const char *)
__attribute__ ((__noreturn__));
template <typename b, int>
@@
-11,7
+13,8
@@
catch (b d)
if (d)
a ("", "", 2, __PRETTY_FUNCTION__);
}
-main ()
+void
+foo ()
{
using e = decltype (nullptr);
c<volatile e, true> ();