summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/34135-new_op.cpp
blob: 044cd859aab82bc44b5130e7177a56ecbf79cd96 (plain)
1
2
3
4
5
6
7
8
9
Foo* foo = new Foo(a,v);

Foo* foo = new( ptr,std::nothrow)Foo[];
Foo* foo = new( ptr)Foo();
Foo* foo = new( FOO(ptr) )Foo();

Foo* foo = new  ( ptr,std::nothrow)  Foo[];
Foo* foo = new  ( ptr)  Foo();
Foo* foo = new  ( FOO(ptr) )  Foo();