diff options
author | Markus Schorn | 2008-06-12 13:19:19 +0000 |
---|---|---|
committer | Markus Schorn | 2008-06-12 13:19:19 +0000 |
commit | b6703ee59273100b35ab3624d71ba0e5bdf1d692 (patch) | |
tree | f5a7f1ed93de01ccd7302c0a7246e460516fdc84 /core/org.eclipse.cdt.core.tests/resources | |
parent | cd4a0fef03de24557fa3d8f60e454a095bc2a442 (diff) | |
download | org.eclipse.cdt-b6703ee59273100b35ab3624d71ba0e5bdf1d692.tar.gz org.eclipse.cdt-b6703ee59273100b35ab3624d71ba0e5bdf1d692.tar.xz org.eclipse.cdt-b6703ee59273100b35ab3624d71ba0e5bdf1d692.zip |
Corrections to existing test-cases + additional ones.
Diffstat (limited to 'core/org.eclipse.cdt.core.tests/resources')
-rw-r--r-- | core/org.eclipse.cdt.core.tests/resources/rewrite/ASTWriterDeclaratorTestSource.awts | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/core/org.eclipse.cdt.core.tests/resources/rewrite/ASTWriterDeclaratorTestSource.awts b/core/org.eclipse.cdt.core.tests/resources/rewrite/ASTWriterDeclaratorTestSource.awts index 03757761d65..904a520af14 100644 --- a/core/org.eclipse.cdt.core.tests/resources/rewrite/ASTWriterDeclaratorTestSource.awts +++ b/core/org.eclipse.cdt.core.tests/resources/rewrite/ASTWriterDeclaratorTestSource.awts @@ -62,24 +62,20 @@ int vol() volatile; //!ICPPASTFunctionTryBlockDeclarator //%CPP -void foo() +int f(int); +class C { - int f(int); - class C - { - int i; - double d; - public: - C(int, double); - }; - C::C(int ii, double id) - try - :i(f(ii)), d(id) - { - } - catch(...){ - } - + int i; + double d; +public: + C(int, double); +}; +C::C(int ii, double id) +try +:i(f(ii)), d(id) +{ +} +catch(...){ } |