]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
dr195.C: Use -pedantic.
authorJason Merrill <jason@gcc.gnu.org>
Tue, 13 May 2014 16:04:56 +0000 (12:04 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 13 May 2014 16:04:56 +0000 (12:04 -0400)
* g++.dg/conversion/dr195.C: Use -pedantic.
* g++.dg/expr/cast2.C: Likewise.

From-SVN: r210380

gcc/testsuite/g++.dg/conversion/dr195.C
gcc/testsuite/g++.dg/expr/cast2.C

index 8502c1578b69c3b98cf2dd74993999f686b3e6d8..c046deb10706ebe6c5a1f18b336cc0c0ac824426 100644 (file)
@@ -6,6 +6,7 @@
 // it (yet).
 
 // This checks we warn when being pedantic.
+// { dg-options "-pedantic" }
 
 typedef void (*PF)(void);
 typedef void *PV;
index 1ccda2b4804bc9ba64ec3bd3129a5a9a024a6320..4eb8c7f7a905198c1e1718771d158764b4259d2c 100644 (file)
@@ -1,3 +1,5 @@
+// { dg-options "-pedantic" }
+
 void (*p)();
 
 void f() {