summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/task189996.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/task189996.h')
-rw-r--r--tests/auto/tools/moc/task189996.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/auto/tools/moc/task189996.h b/tests/auto/tools/moc/task189996.h
index f94a051b3a..ba9450c271 100644
--- a/tests/auto/tools/moc/task189996.h
+++ b/tests/auto/tools/moc/task189996.h
@@ -37,11 +37,9 @@ class InlineSlotsWithThrowDeclaration : public QObject
Q_OBJECT
public slots:
- void a() throw() { }
- void b() const throw() { }
- void c() throw();
- void d() throw(int) { }
- void e() const throw(int,double) { }
+ void a() noexcept { }
+ void b() const noexcept { }
+ void c() noexcept;
};
#endif