diff options
author | Sergey Prigogin | 2013-03-15 22:44:52 +0000 |
---|---|---|
committer | Sergey Prigogin | 2013-03-15 22:44:52 +0000 |
commit | 20d1ecd441de16e119b0681f39105653aa1d57ce (patch) | |
tree | dfd00e91a71ec0313b07145bc47ef3ea456c34bc /core/org.eclipse.cdt.ui.tests/resources | |
parent | 7c31b952e309ff5d93cfd3b2fa2348e24faf2983 (diff) | |
download | org.eclipse.cdt-20d1ecd441de16e119b0681f39105653aa1d57ce.tar.gz org.eclipse.cdt-20d1ecd441de16e119b0681f39105653aa1d57ce.tar.xz org.eclipse.cdt-20d1ecd441de16e119b0681f39105653aa1d57ce.zip |
Fixed a broken test.
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests/resources')
-rw-r--r-- | core/org.eclipse.cdt.ui.tests/resources/formatter/sample/After.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/resources/formatter/sample/After.cpp b/core/org.eclipse.cdt.ui.tests/resources/formatter/sample/After.cpp index 89ede2db0a6..674808249f7 100644 --- a/core/org.eclipse.cdt.ui.tests/resources/formatter/sample/After.cpp +++ b/core/org.eclipse.cdt.ui.tests/resources/formatter/sample/After.cpp @@ -24,13 +24,15 @@ const SimpleStruct simpleStruct = { 1, "mySimple", 0.1232 }; \ } -const SimpleStruct array[] = { { SIZEOF( simpleStruct, num ), +const SimpleStruct array[] = { { +SIZEOF( simpleStruct, num ), #if FOO "foo" # else "bar" #endif - , 0.5 }, { SIZEOF( simpleStruct, floatNum ), "name", 1.1 } }; + , 0.5 }, { +SIZEOF( simpleStruct, floatNum ), "name", 1.1 } }; // single line outside scope |