mirror of
https://github.com/google/ormolu.git
synced 2024-09-11 08:05:24 +03:00
Add a CPP macro continuation test
This commit is contained in:
parent
53f582a575
commit
ec1a432eed
8
data/examples/other/cpp/continuation-out.hs
Normal file
8
data/examples/other/cpp/continuation-out.hs
Normal file
@ -0,0 +1,8 @@
|
||||
foo :: Int
|
||||
foo = 5
|
||||
|
||||
#define message_for(a, b) \
|
||||
printf(#a " and " #b ": We love you!\n")
|
||||
|
||||
bar :: Int
|
||||
bar = 6
|
8
data/examples/other/cpp/continuation.hs
Normal file
8
data/examples/other/cpp/continuation.hs
Normal file
@ -0,0 +1,8 @@
|
||||
foo :: Int
|
||||
foo = 5
|
||||
|
||||
#define message_for(a, b) \
|
||||
printf(#a " and " #b ": We love you!\n")
|
||||
|
||||
bar :: Int
|
||||
bar = 6
|
Loading…
Reference in New Issue
Block a user