Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2008-02-21 11:02:42 -0500
committerAnton Leherbauer2008-02-21 11:02:42 -0500
commitd236e380c727a9dc401b9447ff4e6ea6b1d147fd (patch)
treed087392b777e547ec187db3bcd02c30511643aeb /core/org.eclipse.cdt.ui.tests/resources/formatter/preview/Before.cpp
parentd7f3e235cc0445bd1f3f0e8c56ef38c7a3d2aeaf (diff)
downloadorg.eclipse.cdt-d236e380c727a9dc401b9447ff4e6ea6b1d147fd.tar.gz
org.eclipse.cdt-d236e380c727a9dc401b9447ff4e6ea6b1d147fd.tar.xz
org.eclipse.cdt-d236e380c727a9dc401b9447ff4e6ea6b1d147fd.zip
178601: Add whitespace options to preference UI
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests/resources/formatter/preview/Before.cpp')
-rw-r--r--core/org.eclipse.cdt.ui.tests/resources/formatter/preview/Before.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/resources/formatter/preview/Before.cpp b/core/org.eclipse.cdt.ui.tests/resources/formatter/preview/Before.cpp
index 97138157acc..461ecc0a9cc 100644
--- a/core/org.eclipse.cdt.ui.tests/resources/formatter/preview/Before.cpp
+++ b/core/org.eclipse.cdt.ui.tests/resources/formatter/preview/Before.cpp
@@ -7,6 +7,8 @@ class Point {public:Point(double xc, double yc) : x(xc), y(yc) {}double distance
* Line Wrapping
*/
int array[]= {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 1000, 2000, 3000, 4000, 5000};
-int compare(int argument, int otherArgument) {return argument+otherArgument > argument*otherArgument+1000000 ? 100000+50000 : 200000-30000;}
+int compare(int argument, int otherArg) {return argument+otherArg > argument*otherArg+1000000 ? 100000+50000 : 200000-30000;}
class Other {static void bar(int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9) {}};
void foo() {Other::bar(100000, 200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000);}
+enum EEEE{ONE,TWO,THREE,FOUR,FIVE,SIX,SEVEN=7,EIGHT,NINE,TEN,HUNDRED,THOUSAND,AMILLION};
+template<typename T1,typename T2> class map {};map<int,int> m;

Back to the top