---
source: cedar-policy-formatter/src/pprint/fmt.rs
expression: formatted
input_file: cedar-policy-formatter/tests/comment_euid_elems.cedar
---
// Test fix for #787 where comments between euid elements were reorderd.
permit (
  principal,
  action,
  resource ==
    a // 1
    // 2
    ::
    // 3
    ""
);

permit (
  principal,
  action in
    [Action // 4
     // 5
     ::
     // 6
     ""],
  resource
);

permit (principal, action, resource)
when
{
  a // 7
  // 8
  ::
  // 9
  ""
};
