I'm looking for an example of the thing in the title. So far I tried many topologies but none seemed to work.
Thoughts: I obviously have to find some non-Hausdorff space because otherwise the example doesn't exist. I thought of some non-Hausdorff spaces in which the compacts are easy to detect, but then I found that all the open sets in them are in fact locally compact.
Thanks in advance.