You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple function definition with noexcept specifier fails with the error function definition is not allowed here
voidf() noexcept {}
input_line_3:2:20: error: function definition is not allowed here
voidf() noexcept {}
Expected behavior
Function definition with noexcept specifier should be interpreted correctly.
To Reproduce
Give the input below to Cling:
voidf() noexcept {}
Setup
This problem was discovered by @edfink234 in the Cline project. The Cling used by the Cline in service was build upon 1d5536f. I verified it is reproducible on ROOT 6.24/06 as well.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
A simple function definition with
noexcept
specifier fails with the errorfunction definition is not allowed here
Expected behavior
Function definition with
noexcept
specifier should be interpreted correctly.To Reproduce
Give the input below to Cling:
Setup
This problem was discovered by @edfink234 in the Cline project. The Cling used by the Cline in service was build upon 1d5536f. I verified it is reproducible on ROOT 6.24/06 as well.
Additional context
N/A
The text was updated successfully, but these errors were encountered: