# This test code was written by the `hypothesis.extra.ghostwriter` module
# and is provided under the Creative Commons Zero public domain dedication.

import re
from hypothesis import given, strategies as st


@given(pattern=st.text(), flags=st.just(0))
def test_fuzz_compile(pattern, flags):
    re.compile(pattern=pattern, flags=flags)
