Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2013-03-15 22:44:52 +0000
committerSergey Prigogin2013-03-15 22:44:52 +0000
commit20d1ecd441de16e119b0681f39105653aa1d57ce (patch)
treedfd00e91a71ec0313b07145bc47ef3ea456c34bc /core/org.eclipse.cdt.ui.tests/resources
parent7c31b952e309ff5d93cfd3b2fa2348e24faf2983 (diff)
downloadorg.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.cpp6
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

Back to the top