diff options
Diffstat (limited to 'tests/testsrc/good/formatting.cpp')
-rw-r--r-- | tests/testsrc/good/formatting.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/testsrc/good/formatting.cpp b/tests/testsrc/good/formatting.cpp index 2819d56..6d4d47a 100644 --- a/tests/testsrc/good/formatting.cpp +++ b/tests/testsrc/good/formatting.cpp @@ -49,3 +49,18 @@ struct Test3 final { } } + +struct ParticleTimer final +{ + ParticleTimer(Particle *const particle0, + const int endTime0) A_NONNULL(2) : + particle(particle0), + endTime(endTime0) + { + } + + Particle *particle; + int endTime; + Particle *const particle; + const int endTime; +}; |