aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/qual1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/qual1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/qual1.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/qual1.C b/gcc/testsuite/g++.old-deja/g++.other/qual1.C
index 03c38548e94..b6eba42ddcf 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/qual1.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/qual1.C
@@ -6,13 +6,13 @@
typedef const char *(func_type)();
-class
+class C
{
public:
func_type *Function;
// The following is DR 295 dependent
- const func_type* function(void) { return Function; } // { dg-error "" } constifying
- volatile func_type* functionv(void); // { dg-error "" } qualifier
+ const func_type* function(void) { return Function; }
+ volatile func_type* functionv(void);
} action;
void work(const char *source)