Skip to content
Snippets Groups Projects
Commit 36b54847 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart
Browse files

Add explicit test for various comment syntaxes.

parent 1d9ad887
No related branches found
No related tags found
No related merge requests found
--
-- Comments
--
SELECT 'trailing' AS first; -- trailing single line
SELECT /* embedded single line */ 'embedded' AS second;
SELECT /* both embedded and trailing single line */ 'both' AS third; -- trailing single line
SELECT 'before multi-line' AS fourth;
/* This is an example of SQL which should not execute:
* select 'multi-line';
*/
SELECT 'after multi-line' AS fifth;
/* and this is the end of the file */
...@@ -27,6 +27,7 @@ reltime ...@@ -27,6 +27,7 @@ reltime
abstime abstime
tinterval tinterval
horology horology
comments
create_function_1 create_function_1
create_type create_type
create_table create_table
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment