Subject: 30.0.50; C-M-u does not work correctly in c-ts-mode

From: Daniel Martín <[email-masked]>
Date: Sat, 13 May 2023 19:37:39 +0200

Steps to reproduce:

emacs -Q
C-x b sample.c RET
M-x c-ts-mode
Write the following code:

int foo(int a, int b) {
  
}

With point inside the function, press C-M-u.

Actual result:

Emacs beeps and shows "At top level".

Expected result:

Point goes to the open { instead.