Add explicit test for various comment syntaxes.

This commit is contained in:
Thomas G. Lockhart 1997-09-18 03:54:19 +00:00
parent 1d9ad887cd
commit 36b54847cb
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
--
-- 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 */

View File

@ -27,6 +27,7 @@ reltime
abstime
tinterval
horology
comments
create_function_1
create_type
create_table